Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 31, 2012
  1. Roman Shtylman

    0.6.1

    defunctzombie authored
  2. Roman Shtylman

    Merge pull request #160 from jmandel/master

    defunctzombie authored
    Fix segfault on broken xpath (+ test case)
    
    Previously, the library failed to detect that an xpath query could have no results and would thus segfault. This checks if the xpath result set is empty and returns an empty array accordingly.
  3. Josh Mandel
Commits on Jul 26, 2012
  1. Roman Shtylman

    0.6.0

    defunctzombie authored
  2. Roman Shtylman

    Merge pull request #148 from SYSTRAN/addchild_segfault

    defunctzombie authored
    fix segfault caused by addChild()
  3. Roman Shtylman

    Merge pull request #143 from dpw/parse-buffers

    defunctzombie authored
    Support for parsing from Buffers
  4. Roman Shtylman

    Merge pull request #150 from SYSTRAN/clone_segfault

    defunctzombie authored
    fix segfault for clone
  5. Roman Shtylman

    cleanup CDATA example

    defunctzombie authored
  6. Roman Shtylman

    Merge pull request #149 from SYSTRAN/get_child_fix

    defunctzombie authored
    fix child method: off-by-one error: child(0) == child(1)
  7. Roman Shtylman
Commits on Jul 19, 2012
  1. Roman Shtylman

    Merge pull request #151 from SYSTRAN/memory_leaks

    defunctzombie authored
    fix memory leaks
  2. Thomas Riccardi
Commits on Jul 18, 2012
  1. Thomas Riccardi
  2. Thomas Riccardi
  3. Thomas Riccardi
  4. Thomas Riccardi
  5. Thomas Riccardi

    fix clone method: set doc on nodes to avoid a segfault when XmlNode::…

    triccardi-systran authored
    …XmlNode reads xml_obj->doc->_private
  6. Thomas Riccardi

    unit test: clone

    triccardi-systran authored
  7. Thomas Riccardi
  8. Thomas Riccardi

    Workaround for segfault caused by addChild(): child now points to a n…

    triccardi-systran authored
    …ew unrelated xmlNode to avoid the crashes. DO NOT suppose child is the newly added child: in some cases it's not.
Commits on Jul 7, 2012
  1. David Wragg

    Support for parsing XML and HTML from Buffers

    dpw authored
    For XML, this gives access to automatic encoding detection based on
    the XML declaration in the file.
    
    Parsing from a Buffer should also be a bit faster than parsing from a
    string, as the data in a buffer can be passed directly to libxml.
  2. David Wragg

    Rename libxml.parse(Xml|Html)String to parse(Xml|Html)

    dpw authored
    In preparation for adding support for buffers.  The old names are
    still supported.
Commits on Jul 6, 2012
  1. Nick Campbell

    Merge pull request #142 from dpw/xpath-results

    ncb000gt authored
    Support other result types of evaluating XPath expressions
Commits on Jul 5, 2012
  1. David Wragg

    Support XPath expressions that don't yield nodesets

    dpw authored
    When an XPath expression evaluates to a boolean, number or string
    it gets turned into the corresponding JS value.
  2. David Wragg

    Support XPath expressions that yield attributes

    dpw authored
    XPath expressions like '@attr' evaluate to a nodeset containing
    attributes.  This would sometimes work in libxmljs (when the libxml
    xmlNode for an attribute already had a _private pointing to a libxmljs
    attribute wrapper).  But in other cases you could end up with a libxmljs
    element wrapper wrapping a libxmljs xmlAttr.  This makes it work in
    general.
Commits on Jun 27, 2012
  1. Roman Shtylman
Commits on May 10, 2012
  1. Nick Campbell

    Badger.

    ncb000gt authored
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
Commits on May 9, 2012
  1. Nick Campbell

    Small check to make sure cdata is added and represented in the string…

    ncb000gt authored
    … form for GH-124.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
  2. Nick Campbell
Commits on May 4, 2012
  1. Merge pull request #129 from alfyboza/document-namespaces

    authored
    All Namespaces in XML Document
Commits on May 2, 2012
  1. Alfonso Boza
  2. Alfonso Boza

    Moved document.namespaces() -> element.namespaces(). document.namespa…

    alfyboza authored
    …ces() now returns root element's namespaces.
Commits on May 1, 2012
  1. Alfonso Boza
Commits on Apr 27, 2012
  1. Roman Shtylman

    Merge pull request #128 from dordille/master

    defunctzombie authored
    Added Document.validate() to validate XMLDocument against an XSD
Something went wrong with that request. Please try again.