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

Re: Identifying the source schema for PSVI contributions

From: John Snelson <jpcs@decisionsoft.com>
Date: Thu, 28 Aug 2003 16:26:02 +0100
Message-ID: <3F4E1F0A.8030803@decisionsoft.com>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
Cc: xmlschema-dev@w3.org

I understand that I can find the schemas which have been used to 
validate a document. However, my problem is this:

If I have obtained an object isomorphic to the element declaration from 
my PSVI enhanced DOM Element, then I can query it for the target 
namespace of the element declaration, which is usually the same as the 
target namespace of the schema document it has come from.

However, when using elementForm="unqualified", any element declarations 
that I have that are not globally scoped in the schema document have a 
target namespace of _absent_. This occurs more frequently when we talk 
about attribute declarations, where it is more usual to use 
attributeForm="unqualified".

In this situation, given the object isomorphic to the element 
declaration, how can I find the target namespace of the schema document 
it came from (or, in fact, any other kind of uniquely identifying 
information).

-- 
John Snelson, Software Engineer        +44-1865-203192
DecisionSoft Limited                   http://www.decisionsoft.com
XML Development and Services
Received on Thursday, 28 August 2003 11:24:31 GMT

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