Re: [xml] libxml2 core dumps on oasis xml test suite
- From: Daniel Veillard <veillard redhat com>
- To: Aleksey Sanin <aleksey aleksey com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 core dumps on oasis xml test suite
- Date: Sat, 2 Mar 2002 03:55:46 -0500
On Fri, Mar 01, 2002 at 02:00:44PM -0800, Aleksey Sanin wrote:
Daniel,
While I've tested c14n xml implementation I am working on I've noticed few
core dumps. And I was able to reproduce these core dumps with xmllint.
I've tried libxml2-2.4.16 and the today's CVS snapshot configured and
compiled
[...]
The xmllint was executed using following command line:
xmllint --debug --noent $filename
Test files that crashes xmllint ($filename):
./ibm/not-wf/P49/ibm49n02.xml
./ibm/not-wf/P50/ibm50n02.xml
./ibm/not-wf/P50/ibm51n02.xml
./xmltest/not-wf/sa/132.xml
Works for me. I fixed those I'm pretty sure, so either your xmllint copy
doesn't use the library you expect or something else has not made its way
onto your source tree:
orchis:~/XML -> md5sum xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml
f4a3a86b725429b1fb896628c09ab85c xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml
orchis:~/XML -> xmllint --debug --noent xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseElementChildrenContentDecl : Name or '('
expected
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseElementDecl: expected '>' at the end
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseInternalSubset: error detected in Markup
declaration
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: DOCTYPE improperly terminated
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: Start tag expected, '<' not found
<!ELEMENT aElement (a |b|)* >
^
orchis:~/XML ->
the binary coming from the RPM also doesn't fail for me:
orchis:~/XML -> rpm -qf /usr/bin/xmllint
libxml2-2.4.16-1
orchis:~/XML -> /usr/bin/xmllint --debug --noent xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseElementChildrenContentDecl : Name or '('
expected
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseElementDecl: expected '>' at the end
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: xmlParseInternalSubset: error detected in Markup
declaration
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: DOCTYPE improperly terminated
<!ELEMENT aElement (a |b|)* >
^
xml-test-suite/xmlconf/ibm/not-wf/P49/ibm49n02.xml:7: error: Start tag expected, '<' not found
<!ELEMENT aElement (a |b|)* >
^
orchis:~/XML ->
Check your shared libs setup, or try the rpms I ship.
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]