Re: validating xml schemas with the standard schema

I am still having problems getting things to work. I
am using Xerces 1.4.0. I use a header that looks
something like this:

<xsd:schema 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
xsi:schemaLocation="file:///e:/paul/maple/schema-evolve/validate-files/XMLSchema.xsd">

I keep getting errors that look like:
org.xml.sax.SAXParseException: General Schema Error:
Grammar with uri 2: http://www.w3.org/2001/XMLSchema ,
can not be found.

Am I missing something obvious? I need to read the
schema locally as opposed to going over the net, so I
am trying to set the location to a local file where I
have copied it. So what is the right way to set
attributes in the schema to make this happen?

Any help would be appreciated,

--Paul


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Received on Monday, 4 June 2001 17:45:25 UTC