Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Need help with Unique Particle Attribution Rule >Thread Next - Self reference in XML schema? Empty choice in a group ?To: <xmlschema-dev@--.---> Date: 1/7/2005 6:27:00 PM
Hi,
Is the following allowed :
<xs:group name="empty.Grp">
<xs:choice/>
</xs:group>
I do not have any validation problem with xsv, sqc, xsdvalid, ect... and do not see any information
in the specification...
But msxml detect an error :
empty.xsd#/schema[1]/group[position() = 1 and @name = 'empty.Grp']/choice[1] Empty can be satisfied only if {minOccurs = 0}.
What is the correct answer ?
Thanks in advance
-- bruno --
Bruno Chatel
Tel : (+33) (0)4 96 11 14 57
bcha@c...
--------------------------------------
From ht@i... Fri Jan 07 17:48:08 2005
Receive | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
