AW: Probs with validating against XML-Schmea with Xerces

> -----Ursprüngliche Nachricht-----
> Von: Jeff Rafter [mailto:jeffrafter@definedweb.com]
> Gesendet: Dienstag, 26. Juni 2001 10:19
> An: Uwe Zeise
> Cc: xmlschema-dev@w3.org
> Betreff: Re: Probs with validating against XML-Schmea with Xerces 
> 

The schema location must look something like:
xsi:schemaLocation="http://www.aifb.uni-karlsruhe.de bonds.xsd"

I am not sure about the 'file:' tag and (back)slashes but if you put the
file into
your actual directory it works.

>         // Turn the validation feature on
         parser.setFeature( "http://xml.org/sax/features/validation", true);
The Xerces examples need a -v flag to switch the validation on.


Best Regards
Andras Horti

Received on Tuesday, 26 June 2001 04:46:58 UTC