Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.6.0, 2.7.0
-
None
-
None
-
Windows, AIX
Description
En XML document starting with an UTF-8 BOM, but without a xml declaration gives a parse error:
Fatal Error at file E:\bomtest/xmlUTF8nodec.xml, line 1, char 1
Message: Invalid document structure
scanFirst() failed
The same document with BOM and a xml declaration parses OK.
As far as i can tell from the XML spec, a XML document containing a UTF-8 BOM do not require a XML declaration to be present.