[xml] variations and crashes in Relaxng validation



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


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

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

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

-- 
Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



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