W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

RE: XForms WD 20020118 - Questions about instanceData

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Wed, 23 Jan 2002 11:27:48 -0800
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C17C@csmail.cardiff.com>
To: "'Roman Huditsch'" <roman.huditsch@hico.com>, www-forms@w3.org
Correct. Since the element node 'cc' would have a relevant="false"
constraint mapped to it, the serializer would skip it when writing out the
XML.

.micah

-----Original Message-----
From: Roman Huditsch [mailto:roman.huditsch@hico.com]
Sent: Wednesday, January 23, 2002 1:18 AM
To: www-forms@w3.org
Subject: AW: XForms WD 20020118 - Questions about instanceData


If there would be an additional <bind> element for the following example

	<xforms:model> 
	  <xforms:instance> 
	    <payment as="cash"> 
	      <cc/> 
	      <exp/> 
	    </payment> 
	  </xforms:instance> 
	  <xforms:submitInfo action="http://example.com/submit"
method="post"/> 
	  <xform:bind ref="cc" relevant="/payment/@as='credit'"/>
	</xforms:model>

the element <cc> will IMHO not be submitted. 
Is that correct?

best regards,
Roman


-----Ursprüngliche Nachricht-----
Von: Micah Dubinko [mailto:MDubinko@cardiff.com]
Gesendet: Mittwoch, 23. Januar 2002 00:34
An: 'Naresh Bhatia'; www-forms@w3.org
Betreff: RE: XForms WD 20020118 - Questions about instanceData


1) When initial instance data is provided (either inline or through
xlink:href), the output XML format is exactly the same--except, of course,
for any changes caused by user input.

2) Yes, by default all the original elements would still be there.

3) "User defined" datatypes, aka. derived XML Schema datatypes, are fully
supported. The association occurs either through xsi:type attributes on the
instance data, or a 'type' constraint on the element <bind>. We don't have
plans to make this happen through the UI.

Thanks!

.micah
Received on Wednesday, 23 January 2002 14:30:21 GMT

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