W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

RE: include search path

From: Anli Shundi <ashundi@tibco.com>
Date: Thu, 11 Sep 2003 17:29:54 -0400
To: John Sharp <jsharp@ti.com>, xmlschema-dev@w3.org
Message-id: <JGEJICKDMCIHCMNBOCOAMEFNCBAA.ashundi@tibco.com>

check your validator (or update to another one)
the location in

<xsd:include schemaLocation="commonTypes.xsd"/>

--while only a hint-- is relative to the including document
and has nothing to do with the location of validator itself.


Anli Shundi
TIBCO Software Inc.
www.tibco.com

> -----Original Message-----
> From: xmlschema-dev-request@w3.org
> [mailto:xmlschema-dev-request@w3.org]On Behalf Of John Sharp
> Sent: Thursday, September 11, 2003 4:58 PM
> To: xmlschema-dev@w3.org
> Subject: include search path
> 
> 
> 
> How do I specify a "search path" to find schema
> include files. i.e. I include common definitions 
> using the <xsd:include schemaLocation="commonTypes.xsd"/>
> style, but this does not work if I run my validator
> from a directory location that does not contain
> the included file.
> 
> Is there a way to have the import location be
> relative to the importing schema document ?
> 
> John.
> -- 
>  Texas Instruments Inc  Product Development    tel:214 480 4253
>  PO BOX 660199          MS: 8645 FORE/A-3101   fax:214 480 4401
>  12500 TI Boulevard     Dallas, TX 75266-0199       
>      nawk nawk,  Who's there ?   Aho, Weinberger and Kerninghan.
> 
> 
> 
Received on Thursday, 11 September 2003 18:44:45 GMT

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