Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Including a schema and its redefinition

From: Melvin Chin <mc@----------.--->
To: xml-dev@-----.---.---, -------------@--.---
Date: 9/6/2006 1:08:00 PM
It's invalid.

The "redefine" should be done within "include.xsd".

What include.xsd current says is to include 2 different
definitions of a_type within include.xsd, the first being
a_type itself defined in a.xsd, and the second being
a_type derived from a redefined a_type.  This should at
the least cause a warning that a_type is being redefined
(without being explicitly <xs:redefine>d), or more properly
rejected as invalid.

cheers.

At 10:47 AM 2006-09-06 +0100, Antoli, Leo wrote:

>Hi all,
>
>Attached you can find an example of inclusion of a schema and its 
>redefinition.
>Ive read the W3C Schema recommendation but its not clear to me if 
>include.xsd is a valid schema.
>Im trying to validate include.xml to see if include.xsd is a valid schema.
>Most schema validators say its not valid (because a_type is being declared 
>more than once), but a few of them say its OK.
>Do you think include.xsd is a valid 1.0 schema?
>
>Thank you.


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