Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 12, 2012
  1. @skabbes

    Encoding and baseUrl can be specified for html

    skabbes authored
    Some HTML documents may have incorrect meta tags which puts libxml out
    of its default utf-8 parsing mode.  Allow these optional parameters to
    parseHtml so users can have control of this in theses situations.
Commits on Sep 10, 2012
Commits on Aug 31, 2012
  1. @jmandel
Commits on Jul 26, 2012
  1. @defunctzombie

    Merge pull request #143 from dpw/parse-buffers

    defunctzombie authored
    Support for parsing from Buffers
  2. @defunctzombie

    Merge pull request #150 from SYSTRAN/clone_segfault

    defunctzombie authored
    fix segfault for clone
Commits on Jul 19, 2012
  1. @triccardi-systran
Commits on Jul 18, 2012
  1. @triccardi-systran

    unit test: clone

    triccardi-systran authored
Commits on Jul 7, 2012
  1. @dpw

    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. @dpw

    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 5, 2012
  1. Support XPath expressions that don't yield nodesets

    David Wragg authored
    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 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 May 9, 2012
  1. @ncb000gt

    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>
Commits on May 4, 2012
Commits on May 2, 2012
  1. @alfyboza
Commits on May 1, 2012
  1. @alfyboza
Commits on Apr 17, 2012
  1. @dordille

    Added xsd validation to Document

    dordille authored
    Removed libxml/parser.h include
    
    Removed commented line from xml_document.cc
    Document.validate now returns a boolean value instead of int
Commits on Jan 10, 2012
  1. @defunctzombie

    tweak xml_perser recoverable parse test

    defunctzombie authored
    different versions of libxml produce slightly different errors
Commits on Dec 21, 2011
  1. @defunctzombie

    xml syntax errors are now Error objects

    defunctzombie authored
    integrates better with existing error handling and stack printing
Commits on Dec 20, 2011
  1. @defunctzombie

    add comment to testcase

    defunctzombie authored
  2. @defunctzombie

    remove parseFile from SaxParser

    defunctzombie authored
    If you want to parse a file, use the node fs module and then parseString.
  3. @defunctzombie

    make SaxParser and SaxPushParser event emitters

    defunctzombie authored
    - constructor function can take an object listing the callbacks
      (no longer does it provide an argument or require a function)
    - connect events to the parser using 'on' and other event emitter methods
    - setCallbacks no longer exists
  4. @defunctzombie

    move to node::ObjectWrap over custom version

    defunctzombie authored
    - wrap some of the c++ classes in js (documented and easier to follow)
    - no longer can attributes and namespaces objects be created
Commits on Dec 19, 2011
  1. @defunctzombie

    move tests to nodeunit

    defunctzombie authored
    simpler unit testing
Something went wrong with that request. Please try again.