Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Import directives
Import directives [message #594633] Thu, 31 March 2005 16:07
Ray is currently offline RayFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

Is there a simple method of determining whether a schema imports other
schemas from an XSDSchema object?

i.e. if i load a schema with this directive into an XSDSchema object:

<xs:schema xmlns="http://tempuri.org/MySchema.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://tempuri.org/MySchema.xsd"
xmlns:id="http://tempuri.org/Identifiers.xsd"
elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:import namespace="http://tempuri.org/Identifiers.xsd"
schemaLocation="Identifiers.xsd"/>
......
.....
</xs:schema>

The only difference i've found is that the qNamePrefixToNamespaceMap there
would be more entries in the qNamePrefixToNamespaceMap....is using this fact
fair play?

Many thanks for your help,

Ray
Previous Topic:Problems when referencing an included attribute group with anyAttribute
Next Topic:Import directives
Goto Forum:
  


Current Time: Tue Nov 25 22:39:03 GMT 2014

Powered by FUDForum. Page generated in 0.09001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software