Next in thread → Next in month →

RE: [xml-dev] Modular schemas.

From
Michael Kay <>
To
'Olivier Rossel' <>
Date
2010-01-11T15:19:18
ID
<D0FC8CAB83E94545940A86C0E29E8C9D@Sealion>
Thread
RE: [xml-dev] Modular schemas.
> 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?

I couldn't really work out in detail what you were planning to do. I'm
afraid that creating schemas capable of being customized is always hard
work.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

> 
> 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
> >
> >
Next in thread → Next in month →