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

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

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Tue, 12 Jan 2010 10:48:24 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF409A0F0B9@USA7061MS01.na.xerox.net>
To: "Tobi Krebs" <tobi.krebs@gmail.com>, <www-forms@w3.org>
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 GMT

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