RE: Error in XForms-1.1 test suite: test case 8.1.5.1.a

Tobi,

Thank you for your report.

Can you let us know why @value should be used instead of @ref?

According to [1], the output/mediatype element supports single-node binding attributes and the value attribute.

[1] http://www.w3.org/TR/xforms11/#ui-output-mediatype 

Leigh.

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf Of Tobi Krebs
Sent: Wednesday, January 06, 2010 7:58 AM
To: www-forms@w3.org
Subject: Error in XForms-1.1 test suite: test case 8.1.5.1.a

Dear list,

i found an possible error in test case 8.1.5.1.a.

The mediatyp-element of the output-control contains ref="../@mediatype"" instead of value="../@mediatype" .

Original:

<xforms:group>
  <xforms:output bind="image" mediatype="text/plain">
   <xforms:label>Image : </xforms:label>
   <xforms:mediatype ref="../@mediatype"/>
  </xforms:output>
</xforms:group>

Fix:

<xforms:group>
  <xforms:output bind="image" mediatype="text/plain">
   <xforms:label>Image : </xforms:label>
   <xforms:mediatype value="../@mediatype"/>
  </xforms:output>
</xforms:group>

Kind regards

Tobi Krebs

Received on Tuesday, 12 January 2010 18:49:04 UTC