Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


clarification needed for include

From: "Takuki Kamiya" <takuki@-------.--->
To: <xmlschema-dev@--.--->, <www-xml-schema-comments@--.--->, <xml-dev@-----.---.--->
Date: 3/5/2005 5:35:00 AM
Hi,

Section 4.2.1 in XML Schema Part 1 2nd Ed mentions
in the "schema representation constraint" section that:

"1.2 It resolves to a <schema> element information item
in a well-formed information set, which in turn corresponds
to a valid schema."
(In http://www.w3.org/TR/xmlschema-1/#layer2)

It basically asserts that the schema document being included
has to be "valid". I am not so sure what this "valid" means.

Is it "valid" in terms of what? I guess it is probably meant to be
"valid" against the whole XML Schema specification.

If it is the case there's another question.

Say for example, schema A includes schema B, and B uses
a component (eg. type definition) that is defined in schema A.

My question is: does schema B have to also "include" schema A?
If B does not include A, then schema B is now "invalid" since it does
not validate as a stand-alone schema document because some of
the references (eg. type references) do not (cannot) resolve without
being aware of components in  schema A.

I know I can experiment with the implementations, which I did including
ours and got different results. Only one implementation required
schema B to include A, but others did not care about it.

Any comments are appreciated.

Thank you,

-Takuki Kamiya (Fujitsu Software Corporation)




From K.Buchcik@4... Mon Mar 07 10:29:25 2005
Received: from lisa.w3.or


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent