[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] RelaxNG, xmlTextReader, and streaming error
- From: david hagood gmail com
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] RelaxNG, xmlTextReader, and streaming error
- Date: Wed, 18 Apr 2007 15:44:11 -0500 (CDT)
> On Wed, Apr 18, 2007 at 02:42:31PM -0500,
> Just to be sure, "xmllint works" you mean that using
> xmllint --stream --relaxng foo.rng foo.xml
> validates the document correctly ?
Correct. The following successfully validate:
xmllint --stream --relaxng foo.rng foo.xml
xmllint --relaxng foo.rng foo.xml
xmllint --stream --valid foo.xml
xmllint --valid foo.xml
My code validates using the DTD.
My code does NOT validate using RelaxNG.
My code validates using RelaxNG *IF* I add a call to
xmlTextReaderPreserve() on every element node.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]