This is the mail archive of the
sid@sourceware.org
mailing list for the SID project.
xml parsing error
- From: =?big5?b?V2VzbGV5IExpLVdlaSBDaG91KKlQpd/esyk=?= <wesley at andestech dot com>
- To: <sid at sourceware dot org>
- Date: Wed, 15 Mar 2006 10:31:23 +0800
- Subject: xml parsing error
While I am parsing .xml files come with components, I always get error from my parser.
Than I use http://www.w3.org/2001/03/webdata/xsv to validate it, the output shows that the problem is in component.dtd.
Valication output:
Error: Encoding declaration is required in text declaration
in unnamed entity at line 1 char 23 of http://sources.redhat.com/sid/component.dtd
If I remove the <?xml version="1.0" ?> at first line or modify it as <?xml version="1.0" encoding="UTF-8"?>, it turns out to be ok.