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

  • From: "Michael Kay" <mike@s...>
  • To: "'Olivier Rossel'" <olivier.rossel@g...>,<xml-dev@l...>
  • Date: Mon, 11 Jan 2010 14:50:24 -0000

> 
> 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 



[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