Try using a valid URL...

file:/C:/mask.xsd
OR
file:///C:/mask.xsd


Jake

Quoting Cheffe <[EMAIL PROTECTED]>:

>
> Hi folks,
> I have this code under 1.4.2_10:
> ...
> SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
> builder.setValidation(true);
> builder.setFeature("http://apache.org/xml/features/validation/schema";,
> true);
>
builder.setProperty("http://apache.org/xml/properties/schema/externalnoNamespaceSchemaLocation";,
> "file:C://mask.xsd");
> ...
>
> The validation is doing correct! All fine.
>
> But when i am starting with the endorsed option to override the xerces.jar
> and ..impl.jar etc., i get the following Errror:
> Error on line 2: cvc-elt.1: Cannot find the declaration of element 'mask'.
>
> It seems the mask.xsd couldnt be found? Or the Classloader() is mixxing up
> the different xerces-versions.
>
> Any suggestions?
>
>
>
> --
> View this message in context:
>
http://www.nabble.com/1.4.x-%2Cendorsed-%2Cxerces2.7.2-%2Cschema-validation-problem-tf3294246.html#a9163242
> Sent from the Xerces - J - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to