[Home] [By Thread] [By Date] [Recent Entries]

  • From: Melvin Chin <mc@S...>
  • To: xml-dev@l..., xmlschema-dev@w...
  • Date: Wed, 06 Sep 2006 18:05:05 +0800

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.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member