polotek/libxmljs — Issue #92: Bug with new lines and/or tabulations
Author: loicmorvan
Created: 2011-12-28 14:19:04+00:00
State: open

Parsing a string or a file that contains new lines and/or tabulations leads to a non-expected result.

For example, with the XML:

< root>
< child foo="bar">
< grandchild baz="fizbuzz">grandchild content

< sibling>with content!

the result does not contain 'child', nor 'sibling'.

PS: I had to add spaces in the example because the preview does not show the markups if I let pure XML. I tested this bug without those spaces.