Describe the bug
When parsing a xml file with UTF-8-Encoding, the parser throws an error and is unable to continue. Is this intended behaviour?
This error was not present before i updated to 0.9.
The error reads:
"processing instruction at position 1 is an xml declaration which is only at the start of the document"
To Reproduce
Try to parse a file with UTF-8-BOM encoding.
Expected behavior
Parser can ignore UTF 8 BOM symbol EF BB BF.
Runtime & Version:
xmldom version: 0.9.3
Describe the bug
When parsing a xml file with UTF-8-Encoding, the parser throws an error and is unable to continue. Is this intended behaviour?
This error was not present before i updated to 0.9.
The error reads:
"processing instruction at position 1 is an xml declaration which is only at the start of the document"
To Reproduce
Try to parse a file with UTF-8-BOM encoding.
Expected behavior
Parser can ignore UTF 8 BOM symbol EF BB BF.
Runtime & Version:
xmldom version: 0.9.3