Re: [xml] Unexpected behavior with XML_PARSE_NOBLANKS

On Wed, Dec 9, 2009 at 7:54 AM, Daniel Veillard <veillard redhat com> wrote:
On Sat, Dec 05, 2009 at 11:03:26AM -0800, Aaron Patterson wrote:
Hey everyone,

It looks like sometimes there is unexpected behavior when parsing with
XML_PARSE_NOBLANKS.  It seems that sometimes blank nodes will get
included in the resulting tree.  I don't think this is expected

 If libxml2 detected a non-blank text node at the same level it
will keep all further text nodes, assuming a mixed content element.

Understood.  Thank you!

Aaron Patterson

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]