The attached file, a very simple DocBook file, is well-formed as far as
I can tell, but XXE refuses to open it, giving the error:

    parse error in "<file/>", line 1, column 0: invalid XML declaration

The XML declaration is:

    <?xml version="1.0"?>

which looks like it matches the production for XMLdecl given in the XML
1.0 Spec[0].  Also, this file is parsed by `xmllint` with no errors.
This seems to me either a bug in the XXE suite or a problem with the
file.  If it is the latter, what am I doing wrong?  If the former,
consider this a bug report.

Take care,

    John L. Clark

[0] http://www.w3.org/TR/REC-xml/#NT-XMLDecl
-------------- next part --------------
<?xml version="1.0"?>
<article>
        <title>Cannot be opened by XXE</title>

        <para>
                For whatever reason, the xml declaration in this file
                causes problems for XXE (or XXE's parser).
        </para>
</article>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20041005/ea37c19a/attachment.sig
 

Reply via email to