RE: <xform> declaration

Greetings,

We decided to use <xsd:all> so as not to force a particular ordering of the
content of <xform>. (error-prone)

The <xsd:all> construct, however, is restricted to a maxOccurs of at most 1
on child elements. I agree that more than one event type needs to be caught
here--the question is how to represent this in XML Schema.

Thanks,

.micah

-----Original Message-----
From: hlyu [mailto:hlyu@mail.ustc.edu.cn]
Sent: Wednesday, August 29, 2001 7:29 PM
To: www-forms@w3.org
Subject: <xform> declaration


hi all.
In the new specification (28th of August 2001), the <xform:xform> 
includes a <xform:action> node. Here is the schema definition:
<xsd:element name = "xform">
    <xsd:all>
        ...
        <xsd:element ref = "xform:action" minOccurs = "0" />
        ...
    </xsd:all>
</xsd:element>

But how should i do if i want to deal with more than one events of xform?
Should the value of attribute "maxOccurs" of <action> in <xform> be set to
"unbounded"?

Thanks.

hlyu

Received on Thursday, 30 August 2001 13:58:22 UTC