On Mon, Aug 13, 2012 at 02:20:12PM +0200, Johan Corveleyn wrote:
> On Mon, Aug 13, 2012 at 6:54 AM, Daniel Veillard <[email protected]> wrote:
[...]
> > but that doesn't fix it for the reader or SAX mode, I would have
> > to investigate further
> >
> > thinkpad:~/XML -> xmllint --stream --noout --schema test_schema.xsd
> > test_xml.xml
> > Schemas validity error : Element 'level1': Missing child element(s).
> > Expected is ( level2 ).
> > test_xml.xml fails to validate
> > thinkpad:~/XML -> xmllint --sax --noout --schema test_schema.xsd
> > test_xml.xmlSchemas validity error : Element 'level1': Missing child
> > element(s). Expected is ( level2 ).
> > test_xml.xml fails to validate
> > thinkpad:~/XML ->
> 
> Yeah, having those fixed would be nice too of course. But having
> already one possible way to get validation with the correct line
> numbers is very much appreciated.

  Should be fixed now in git too:

http://git.gnome.org/browse/libxml2/commit/?id=97fa5b3c8f3fe6ff79123ab43ed6b846fd1dd6dd

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to