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

grammar with uri not found error!

From: Ritesh Shukla <ritesh.shukla@wipro.com>
Date: Sat, 30 Jun 2001 08:51:29 -0400 (EDT)
Message-ID: <002d01c10163$c787cb40$fd1da4a4@wipro.com>
To: <xmlschema-dev@w3.org>

I am using xerces parser version 1.3.0

I am facing problems when I try to validate the xml based on the schema.
When do you get this error

I get the following error Grammar with uri 2: http://www.homedepot.com/HD , can not found.

My xml header is 

<?xml version="1.0" encoding="UTF-8"?><hd:rep_clck_in xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns:hd="http://www.homedepot.com/HD"  xsi:schemalocation="http://www.homedepot.com/HD   rep_clck_in.xsd">

My schema header is 

<?xml version="1.0" encoding="UTF-8"?>
-->
<xsd:schema
    targetNamespace="http://www.homedepot.com/HD"
    xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
    xmlns:hd="http://www.homedepot.com/HD">


I tried giving an http path in location , a physical directory path but still I get the same error.

Does this error come when parser is unable to locate the schema file for the document


thanks,

Ritesh
Received on Tuesday, 3 July 2001 08:52:15 GMT

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