[jdom-interest] Problem with XMLSchema validation
geoff.rimmer at sillyfish.com
Sat Apr 3 02:42:18 PST 2004
On Friday 02 April 2004 21:24, Arindam Gupta wrote:
> I tried the following code based on Kevin Jones posting in the FAQ. I am
> using the latest Xerces2.6.2 parser and JDOM-B10.
> SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser",
Surely there's got to be something wrong with this string:
For a start, what's with the double forward slashes? If this is Windows, they
should be double *backslashes* (when in a Java string).
But even if this works, I would have expected that the string should be a URI
not a filename. In Linux, I would write something like:
but where you have a Windows drive letter, you will need:
(note there are *3* slashes after "file:")
More information about the jdom-interest