Update:
I have managed to beat the system into finding my xsd file by using
the following:
urlStr = new String("my-schema.xsd"); // file is local to the
APPLICATION not to the source files.
File xmlFile = new File(urlStr);
FileReader xmlfr = new FileReader(xmlFile);
InputSource inputSource = new InputSource(xmlfr);
parser.parse(inputSource);
Unfortunately, my schema, that begins with:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
throws out the following when validating...
SEVERE: cvc-elt.1: Cannot find the declaration of element
'xs:schema'. at line number 2
Now, this works fine on another machine. The erroneous machine is
being accessed via FTP over the net, so it is a net-visible unit. It
appears not to be able to accurately locate the w3 definition...most
odd.
Any ideas on this or improvements to how I am getting access to my
schema?
Tim
___________________________________________________________
All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]