Permalink
Switch branches/tags
Nothing to show
Commits on May 9, 2017
  1. remove __proto__ acceccor

    jinjinyun committed May 9, 2017
  2. remove __proto__ accessor

    jinjinyun committed May 9, 2017
Commits on May 8, 2017
  1. html entity

    jinjinyun committed May 8, 2017
Commits on Jan 11, 2017
  1. append html defaults entities

    jinjinyun committed Jan 11, 2017
Commits on Jan 6, 2017
  1. Merge pull request #80 from kethinov/htmlentities

    jindw committed Jan 6, 2017
    Adding support for HTML entities for HTML docs only
Commits on Nov 29, 2016
  1. Merge pull request #178 from shazron/spdx-license

    jindw committed Nov 29, 2016
    [LICENSE] Update license in package.json to be an SPDX compatible expression
Commits on Nov 28, 2016
  1. some bugfix

    jinjinyun committed Nov 28, 2016
Commits on Nov 22, 2016
  1. Merge pull request #159 from nfischer/use-named-constants

    jindw committed Nov 22, 2016
    switch references to nodeType to use named constants
Commits on Sep 28, 2016
  1. add node filter

    jindw committed Sep 28, 2016
    node.toString(filter)
Commits on Aug 21, 2016
  1. bug fixed

    jindw committed Aug 21, 2016
Commits on Aug 17, 2016
Commits on May 20, 2016
  1. commit

    jinjinyun committed May 20, 2016
  2. merge xmlns seria

    jinjinyun committed May 20, 2016
  3. Merge pull request #167 from PeculiarVentures/master

    jindw committed May 20, 2016
    Print namespaces for child elements
Commits on Apr 27, 2016
  1. Remove \r from source string

    microshine committed Apr 27, 2016
Commits on Apr 26, 2016
Commits on Mar 16, 2016
Commits on Jan 30, 2016
  1. add nodelist toString support

    jinjinyun committed Jan 30, 2016
Commits on Jan 13, 2016
  1. fixed seri bug

    jinjinyun committed Jan 13, 2016
  2. fixed serialize bug

    jinjinyun committed Jan 13, 2016
Commits on Jan 10, 2016
  1. optimize invalid xml support!

    jinjinyun committed Jan 10, 2016
Commits on Dec 18, 2015
Commits on Aug 24, 2014
  1. Merge pull request #89 from raphj/patch-1

    jindw committed Aug 24, 2014
    convert attribute's value to string in setAttributeNS
    thanks
  2. Merge pull request #78 from isnotgood/master

    jindw committed Aug 24, 2014
    TypeError when Document is created with DocumentType
    thanks for your work
  3. Merge pull request #96 from matt-deboer/master

    jindw committed Aug 24, 2014
    Added '*' NS support for getElementsByTagNameNS
    thanks for your jobs
Commits on Aug 19, 2014
Commits on May 4, 2014
  1. convert attribute's value to string in setAttributeNS

    raphj committed May 4, 2014
    If setAttributeNS is used with non-string attribute values, we can be in trouble when we e.g. try to serialize the XML :
    
    TypeError: Object 11900 has no method 'replace'
        at serializeToString ([...]/node_modules/xmldom/dom.js:952:49)
        at serializeToString ([...]/xmldom/dom.js:923:4)
        at serializeToString ([...]/node_modules/xmldom/dom.js:947:4)
        at XMLSerializer.serializeToString ([...]/node_modules/xmldom/dom.js:907:2)
        at Document.Node.toString ([...]/node_modules/xmldom/dom.js:911:33)
        [...]
    
    This is already done in setAttribute.
Commits on Mar 30, 2014
Commits on Mar 4, 2014
  1. TypeError when Document is created with DocumentType

    isnotgood committed Mar 4, 2014
    Example of error:
    ```js
    var xmldom = require('xmldom');
    var impl = new xmldom.DOMImplementation();
    
    var doctype = impl.createDocumentType('svg', '-//W3C//DTD SVG 1.1//EN', 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd');
    var doc = impl.createDocument('http://www.w3.org/2000/svg', 'svg', doctype);
    
    console.log((new xmldom.XMLSerializer).serializeToString(doc));
    ```
    
    Throws:
    ```
    /Users/ing/Sites/xmldom/dom.js:462
                    cs[i++] = child;
    
    TypeError: Cannot set property '0' of null
        at _onUpdateChild (/Users/ing/Sites/xmldom/dom.js:462:13)
        at _insertBefore (/Users/ing/Sites/xmldom/dom.js:530:2)
        at Document.insertBefore (/Users/ing/Sites/xmldom/dom.js:580:10)
        at Document.Node.appendChild (/Users/ing/Sites/xmldom/dom.js:334:15)
        at Object.DOMImplementation.createDocument (/Users/ing/Sites/xmldom/dom.js:272:8)
        at Object.<anonymous> (/Users/ing/Sites/sprites/src/lib/test.js:5:16)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
    ```
Commits on Jan 28, 2014
  1. 0.1.19 released

    jindw committed Jan 28, 2014
  2. merged some issues

    jindw committed Jan 28, 2014