> There's only one XML document being validated and I made sure to add a version="1.0" encoding="UTF-8"?> at the beginning of the file, making sure
> there's no whitespace before it. Still running into the same error.
I'm guessing now but if it looks ok, perhaps there's a non-visible
character at
Hi Danny,
The SAXParseException [1] contains location information (see
getSystemId()). This is not included in the error message. You need to
extract it programmatically.
Thanks.
[1]
http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/SAXParseException.html
Michael Glavassevich
XML T
Hi Andrew,
Which XML document ? The one I'm trying to validate ? Or the XSD schemas
I'm using to validate it ?
There's only one XML document being validated and I made sure to add
a at the beginning of the file,
making sure there's no whitespace before it. Still running into the same
error.
As
> I modified my catalog to use systemId, but I'm now getting the error below.
> Any idea what it means ?
>
> org.xml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
That means you've got whitespace in front of the xml prolog...
--
Andrew Welch
h
Hi Michael,
I modified my catalog to use systemId, but I'm now getting the error below.
Any idea what it means ?
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown