ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
[xml-dev] including schemas
by Laura Hatcher other posts by this author
Jan 28 2002 9:02PM messages near this date
RE: [xml-dev] Web Design Principles (was Re: [xml-dev] Generality ofHTTP) | [xml-dev] Re: Nesting schemas?
Sorry if this question has already been answered in the archive.  I
checked and I couldn't find an answer.

Currently I am doing multiple schemas validation using XercesJ 1.4.3.
Schema1 uses the XSDL command <include>  to include Schema2 and Schema3.
I want to define them so that the path (or directory) of these schemas
are not hardcoded within Schema1.  But I have noticed that when using
relative paths the parser looks for the schemas in the directory of
which the parser is instantiated (or the directory of which the JVM is
running).  Does anyone know a way of specifying the directory of which
the schemas reside without hardcoding the full directory in Schema1?  I
looked into the Xerces properties and found the external-schemaLocation
property but that only works to specify where to find Schema1 from the
XML instance.

Please somebody help,
Laura Hatcher


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved