Hello,
I have defined a "Folder" of "references" to "Items", a "Folder" being
itself an "Item" :
<complexType name="Item">
<attribute name="Guid" type="string"/>
</complexType>
<complexType name="Folder">
<complexContent>
<extension base="Item">
<sequence>
<element name="Ref" type="Guid" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
Now, I want to define a "RootFolder", as being a "Folder" with a specific
Guid :
<complexType name="RootFolder">
<complexContent>
<restriction base="Folder">
<attribute name="Guid" type="string" fixed="ROOT"/>
</restriction>
</complexContent>
</complexType>
This does not work. The xmlbeans validation tells me that RootFolder cannot
contains Ref elements.
What I am doing wrong here ?
Thank you for your help.
PS : I _need_ that RootFolder class be a Folder
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]