W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: Import/Include question

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 17 Jan 2002 14:09:55 +0000
Message-ID: <159883934250.20020117140955@jenitennison.com>
To: ht@cogsci.ed.ac.uk ((Henry S. Thompson))
CC: Khaled Noaman <knoaman@ca.ibm.com>, xmlschema-dev@w3.org
Hi Henry,

> So the problem with the example was the schema _document_ C cannot
> reference components in namespace A without its _own_ import
> statement.

Ahh, right, got it. Clause 4 of Schema Representation Constraint:
QName resolution (Schema Document)

 "[the component's] ·namespace name· is either the target namespace
  of the schema document containing the ·QName· or that schema
  document contains an <import> element information item the ·actual
  value· of whose namespace [attribute] is identical to that
  ·namespace name·."
                         http://www.w3.org/TR/xmlschema-1/#src-resolve

Thanks for the correction.
                         
Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Thursday, 17 January 2002 09:09:57 GMT

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