W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

AW: Probs with validating against XML-Schmea with Xerces

From: Horti, Andras <andras.horti@joanneum.at>
Date: Tue, 26 Jun 2001 10:46:43 +0200
Message-ID: <A6C43780FFDFFF44803C1E5DB704CE220F1DD5@iis-mail.joanneum.ac.at>
To: xmlschema-dev@w3.org


> -----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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT