Re: [xml] variations and crashes in Relaxng validation



On Sun, Mar 09, 2003 at 09:07:11PM +0100, Sebastian Rahtz wrote:
Consider the difference between these two
runs of xmllint.

First, run with an XML file from the web:
 [spqr-dell] xmllint --noout --relaxng
 test4-compiled.rng test4.xml
 Segmentation fault

Now, run with the identical XML file, locally:
 [spqr-dell] xmllint --noout --relaxng
 test4-compiled.rng http://www.tei-c.org.uk/Schemas/RelaxNG/P4X/test4.xml
 RNG validity error: file
 http://www.tei-c.org.uk/Schemas/RelaxNG/P4X/test4.xml line 12 element
 text
 Element extent has extra content: seg
 Segmentation fault

  I see no reason for the difference and I have no idea on how
to reproduce the crash ! Please provide the input used.

Apart from the fact that it segfaults, it does not seem
to deal properly with simple filenames.

  I have no idea why !

The crash is at relaxng.c, line 1590, but beyond that I
cannot see the problem (not being much of a C programmer).

  and is sueless to me, for me that line is a break statement.

This is with the code from CVS as of today, so I do realize
I am living dangerously :-}

  Please provide the input so I can handle this.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
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]