This property accepts pairs of URIs -- the first pair value is the target
namespace of the schema, the second is the actual location of the schema.
Jeff
<[EMAIL PROTECTED]
sscom.com> To: <[EMAIL PROTECTED]>
cc:
03/04/02 09:09 Subject: Using an
external-SchemaLocation for xml schema validation
AM
Please respond
to xerces-j-user
Hello,
No I am using xercesImp.jar and xercesParserAPIs.jar and have written a
parser to validate an xml document against an external schema.
I have the following line in my code:
parser.setProperty("
http://apache.org/xml/properties/schema/external-schemaLocation",
"file:///xml/customer.xsd");
I get the following warning when I try and validate the document:
[Warning] customer.xml:2:16: SchemaLocation: schemaLocation value
= 'file:///xml/customer.xsd must have even number of URIs.
Any ideas what this means?
Also the validation is not flagging any errors!
THanks in advance
Orla
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]