This is the mail archive of the
mailing list .
xerces and schema(offtopic)
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: xerces and schema(offtopic)
- From: Eric Richardson <eric at milagrosoft dot com>
- Date: Sat, 23 Jun 2001 15:24:11 -0700
- Organization: MilagroSoft Inc.
I was trying to parse the po.xsd from
http://www.w3.org/TR/xmlschema-0/#po.xsd. I'm using xerses1.4.1 for
usage: java sax.SAXCount (options) uri ...
-p name Specify SAX parser by name.
-n | -N Turn on/off namespace [default=on]
-v | -V Turn on/off validation [default=off]
-s | -S Turn on/off Schema support [default=on]
-f | -F Turn on/off Schema full consraint checking [default=off]
-d | -D Turn on/off deferred DOM [default=on]
-l | -L Turn on/off external DTD loading [default=on]
-w Warmup the parser before timing.
-h This help screen.
Here is the command I'm using.
$ java sax.SAXCount po.xsd -v
[Error] purchase-order.xsd:2:58: General Schema Error: Grammar with uri
2: http://www.w3.org/2001/XMLSchema , can not be found.
[Error] po.xsd:2:58: Element type "xsd:schema" must be declared.
Does anybody know what the correct url is for the following?
Or am I totally in left field and you can't validate an XML file that