Re: [xml-dev] Modular schemas.

From
Olivier Rossel <>
To
Michael Kay <>
Date
2010-01-11T14:55:05Z
ID
<>
Thread
Re: [xml-dev] Modular schemas.
thank you so much, michael !

does my idea of massive usage of substitutionGroup sound like a good
idea, to modularize and ease the patching of my schemas in the future?
(given the fact that i am stuck in a XSD 1.0 environment).

On Mon, Jan 11, 2010 at 3:50 PM, Michael Kay <> wrote:
>>
>> Unfortunately, this schema is invalid : It is illegal to
>> create an empty "optionalAttribute_elements" group.
>> What is the correct way to define a group that contains
>> nothing? or just text?
>>
>
> <xs:group name="optionalAttribute_elements">
>  <xs:sequence/>
> </xs:group>
>
> Regards,
>
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay
>
>