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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Tobi Krebs-2
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


Reply | Threaded
Open this post in threaded view
|

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

Klotz, Leigh
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: [hidden email] [mailto:[hidden email]] On Behalf Of Tobi Krebs
Sent: Wednesday, January 06, 2010 7:58 AM
To: [hidden email]
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


Reply | Threaded
Open this post in threaded view
|

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

Tobi Krebs-2
Leigh,

Thanks you for your response.

It seems the single-node binding had slipped my eye.

I´m apologize for the inconvenience  i may have caused.

Tobi.

On Tue, Jan 12, 2010 at 7:48 PM, Klotz, Leigh <[hidden email]> wrote:

> 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: [hidden email] [mailto:[hidden email]] On Behalf Of Tobi Krebs
> Sent: Wednesday, January 06, 2010 7:58 AM
> To: [hidden email]
> 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
>
>
>