Re: [xml] Additional text nodes for '\n' in documents with DTD

2010-02-16 Thread Daniel Veillard
On Sat, Feb 13, 2010 at 07:17:52PM +0300, Nikolay Sivov wrote: I've just run into a problem I don't understand - when I parse a document with dtd and line returns '\n' in the content that followed dtd tree get additional text nodes for each '\n'. Inline example shows that. test2 produces

Re: [xml] Additional text nodes for '\n' in documents with DTD

2010-02-16 Thread Nikolay Sivov
On 2/16/2010 14:59, Daniel Veillard wrote: On Sat, Feb 13, 2010 at 07:17:52PM +0300, Nikolay Sivov wrote: I've just run into a problem I don't understand - when I parse a document with dtd and line returns '\n' in the content that followed dtd tree get additional text nodes for each '\n'.

[xml] Additional text nodes for '\n' in documents with DTD

2010-02-13 Thread Nikolay Sivov
I've just run into a problem I don't understand - when I parse a document with dtd and line returns '\n' in the content that followed dtd tree get additional text nodes for each '\n'. Inline example shows that. test2 produces text nodes - doc has 3 children (direct of course), but doc from