J
John Smith
I am trying to parse an XML document that starts with the following tag:
<?xml version='1.0' encoding='windows-1252' ?>
This is causing an error::
Caused by: org.xml.sax.SAXParseException: The encoding "windows-1252" is not
supported.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:541)
at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:305)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
Is there a way i can get it to support windows-1252 or ignore it as I cannot
edit the document itself.
Thanks
Jon
<?xml version='1.0' encoding='windows-1252' ?>
This is causing an error::
Caused by: org.xml.sax.SAXParseException: The encoding "windows-1252" is not
supported.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:541)
at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:305)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
Is there a way i can get it to support windows-1252 or ignore it as I cannot
edit the document itself.
Thanks
Jon