• Show log

    Commit

  • Hash : e20fb5a7
    Author : Daniel Veillard
    Date : 2010-01-29T20:47:08

    Fix xmlParseInNodeContext for HTML content
    
    xmlParseInNodeContext notices that the enclosing document is
    an HTML document, so invoke the HTML parser for that fragment, and
    the HTML parser finding a "<p>hello world!</p>" document automatically
    augment it with defaulted <html> and <body>. This defaulting should
    be turned off in the HTML parser for this to work, but there is no
    such HTML parser option. There is an htmlOmittedDefaultValue global
    variable that you could use, but really we should not rely on global
    variable for processing options anymore, best is to add an
    HTML_PARSE_NOIMPLIED.
    * include/libxml/HTMLparser.h: add the HTML_PARSE_NOIMPLIED parser flag
    * HTMLparser.c: do add implied element if HTML_PARSE_NOIMPLIED is set
    * parser.c: add HTML_PARSE_NOIMPLIED to options for xmlParseInNodeContext
      on HTML documents
    

  • README

  •                   XML toolkit from the GNOME project
    
    Full documentation is available on-line at
        http://xmlsoft.org/
    
    This code is released under the MIT Licence see the Copyright file.
    
    To build on an Unixised setup:
       ./configure ; make ; make install
    To build on Windows:
       see instructions on win32/Readme.txt
    
    To assert build quality:
       on an Unixised setup:
          run make tests
       otherwise:
           There is 3 standalone tools runtest.c runsuite.c testapi.c, which
           should compile as part of the build or as any application would.
           Launch them from this directory to get results, runtest checks 
           the proper functionning of libxml2 main APIs while testapi does
           a full coverage check. Report failures to the list.
    
    To report bugs, follow the instructions at: 
      http://xmlsoft.org/bugs.html
    
    A mailing-list xml@gnome.org is available, to subscribe:
        http://mail.gnome.org/mailman/listinfo/xml
    
    The list archive is at:
        http://mail.gnome.org/archives/xml/
    
    All technical answers asked privately will be automatically answered on
    the list and archived for public access unless pricacy is explicitely
    required and justified.
    
    Daniel Veillard
    
    $Id$