W3C home > Mailing lists > Public > www-forms@w3.org > August 2001

RE: <xform> declaration

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Thu, 30 Aug 2001 10:50:38 -0700
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28BD7C@csmail.cardiff.com>
To: "'hlyu'" <hlyu@mail.ustc.edu.cn>, www-forms@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:49 GMT