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

Re: validating xml schemas with the standard schema

From: Paul Jakubik <pauljakubik@yahoo.com>
Date: Mon, 4 Jun 2001 14:45:17 -0700 (PDT)
Message-ID: <20010604214517.90757.qmail@web11002.mail.yahoo.com>
To: xmlschema-dev@w3.org
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 GMT

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