Next in thread → Next in month →

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

From
Melvin Chin <>
To
,
Date
2006-09-06T10:05:05Z
ID
<>
Thread
Re: [xml-dev] Including a schema and its redefinition
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.
Next in thread → Next in month →