Re: [xml] xmlreader problem with long comment at beginning of document



Done.

http://bugzilla.gnome.org/show_bug.cgi?id=438835

-sbi 

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: jeudi 10 mai 2007 19:48
To: Bidoul, Stephane
Cc: xml gnome org
Subject: Re: [xml] xmlreader problem with long comment at 
beginning of document

On Thu, May 10, 2007 at 04:27:03PM +0200, Bidoul, Stephane wrote:
Hi,
 
I've discovered a strange problem with documents that have a long 
comment at the beginning (such as the attached a.xml). A slightly 
shorter header comment solves the problem (such as in the attached 
b.xml).

The problem occurs only with --stream. I can reproduce with 2.6.26
(cygwin) and the latest subversion code (win32).

Should I submit this in bugzilla?

  yes please :-)

Daniel

-sbi
 
~>xmllint --stream --noout --valid a.xml
a.xml:10: parser error : Extra content at the end of the document 
<!DOCTYPE a [
            ^
a.xml : failed to parse
~>xmllint --stream --noout --valid b.xml ~>xmllint --noout --valid 
a.xml ~>xmllint --noout --valid b.xml


Content-Description: a.xml

Content-Description: b.xml

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/ xml gnome org 
http://mail.gnome.org/mailman/listinfo/xml


-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




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