[XSD] Validation question

F

Fabien R

Hi all,

I don't see what XML nodes the following schemas are expecting:

1)
<xsd:complexType name="BOOLEAN">
<xsd:group ref="BooleanGroup" />
</xsd:complexType>
<xsd:group name="BooleanGroup">
<xsd:choice>
<xsd:element name="true" type="xsd:integer" fixed="1" />
<xsd:element name="false" type="xsd:integer" fixed="0" />
</xsd:choice>
</xsd:group>

Is <true>1</true> OK ?

2)
<xsd:complexType name="NULL" final="#all" />

I don't see if it expects <NULL>#all</NULL>.

TIA,
Fabien
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,838
Latest member
KandiceChi

Latest Threads

Top