Permalink
Commits on Jul 26, 2012
  1. 0.6.0

    defunctzombie committed Jul 26, 2012
  2. Merge pull request #148 from SYSTRAN/addchild_segfault

    defunctzombie committed Jul 26, 2012
    fix segfault caused by addChild()
  3. Merge pull request #143 from dpw/parse-buffers

    defunctzombie committed Jul 26, 2012
    Support for parsing from Buffers
  4. Merge pull request #150 from SYSTRAN/clone_segfault

    defunctzombie committed Jul 26, 2012
    fix segfault for clone
  5. cleanup CDATA example

    defunctzombie committed Jul 26, 2012
  6. Merge pull request #149 from SYSTRAN/get_child_fix

    defunctzombie committed Jul 26, 2012
    fix child method: off-by-one error: child(0) == child(1)
  7. use `bindings` package to load binary

    defunctzombie committed Jul 26, 2012
    fixes #144
Commits on Jul 19, 2012
  1. Merge pull request #151 from SYSTRAN/memory_leaks

    defunctzombie committed Jul 19, 2012
    fix memory leaks
  2. child(): fix unit tests

    thomas-riccardi committed Jul 19, 2012
Commits on Jul 18, 2012
  1. fix clone method: set doc on nodes to avoid a segfault when XmlNode::…

    thomas-riccardi committed Jul 17, 2012
    …XmlNode reads xml_obj->doc->_private
  2. unit test: clone

    thomas-riccardi committed Jul 18, 2012
  3. Workaround for segfault caused by addChild(): child now points to a n…

    thomas-riccardi committed Jul 18, 2012
    …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. Support for parsing XML and HTML from Buffers

    dpw committed Jul 7, 2012
    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. Rename libxml.parse(Xml|Html)String to parse(Xml|Html)

    dpw committed Jul 7, 2012
    In preparation for adding support for buffers.  The old names are
    still supported.
Commits on Jul 6, 2012
  1. Merge pull request #142 from dpw/xpath-results

    ncb000gt committed Jul 6, 2012
    Support other result types of evaluating XPath expressions
Commits on Jul 5, 2012
  1. Support XPath expressions that don't yield nodesets

    David Wragg committed Jul 5, 2012
    When an XPath expression evaluates to a boolean, number or string
    it gets turned into the corresponding JS value.
  2. Support XPath expressions that yield attributes

    David Wragg committed Jul 5, 2012
    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
Commits on May 10, 2012
  1. Badger.

    ncb000gt committed May 10, 2012
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
Commits on May 9, 2012
  1. Small check to make sure cdata is added and represented in the string…

    ncb000gt committed May 9, 2012
    … form for GH-124.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
Commits on May 4, 2012
  1. make html parse error tests more forgiving

    marogers committed May 4, 2012
  2. Merge pull request #129 from alfyboza/document-namespaces

    polotek committed May 4, 2012
    All Namespaces in XML Document
Commits on May 2, 2012
  1. Moved document.namespaces() -> element.namespaces(). document.namespa…

    alfyboza committed May 2, 2012
    …ces() now returns root element's namespaces.
Commits on May 1, 2012
Commits on Apr 27, 2012
  1. Merge pull request #128 from dordille/master

    defunctzombie committed Apr 27, 2012
    Added Document.validate() to validate XMLDocument against an XSD
Commits on Apr 17, 2012
  1. Added xsd validation to Document

    dordille committed Apr 12, 2012
    Removed libxml/parser.h include
    
    Removed commented line from xml_document.cc
    Document.validate now returns a boolean value instead of int
Commits on Mar 30, 2012
  1. update Makefile and README to use node-gyp

    defunctzombie committed Mar 30, 2012
    gyp is how packages will be built in node going forward