> There's only one XML document being validated and I made sure to add a <?xml > 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 the start... if you look at the bytes in a hex editor what is the first byte? > As for the XSD, there's one main XSD, but it imports and includes other > XSD's. > > Besides inspecting all those XSD files (there are lots of them) for > whitespaces, is there a way to get Xerces to indicate which XSD it finds the > problem in ? One option (if Michael's suggestion of writing some code isn't doable) is to use the validation tab in Kernow, and click the 'check schema' button. That will return any errors when compiling the xsd (although I can't remember if I include the extra information... I will add it if not). Either way, it will help narrow down the issue. http::/kernowforsaxon.sf.net/ -- Andrew Welch http://andrewjwelch.com --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org