Luke,
The XMLDecl, i.e. , if present in the document, is
required by the
XML specification to appear and only appear starting at the very first byte
of the document.
The "XML document" that you are trying to parse is not well-formed and
Xerces is correctly
failing to parse this document. This
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2093
*** shadow/2093 Sat Jun 9 00:33:25 2001
--- shadow/2093.tmp.22695 Sat Jun 9 00:34:17 2001
***
*** 5,11
| Status: NEW Version: 1.4 |
| Resolution:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2093
*** shadow/2093 Sat Jun 9 00:33:25 2001
--- shadow/2093.tmp.22686 Sat Jun 9 00:33:25 2001
***
*** 0
--- 1,25
+ ++
+ | Dynamic Validation