J
John Smith
I have produced a SAX parser using Xerces to scan some external XML
documents. It works okay except when the file contains "<?xml version="1.0"
?>". If this is in the file I get the error:
[Fatal Error] :4:6: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
Why is this and how do I get round it.
Thanks
Jon
documents. It works okay except when the file contains "<?xml version="1.0"
?>". If this is in the file I get the error:
[Fatal Error] :4:6: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
Why is this and how do I get round it.
Thanks
Jon