"xforms:item must contain an xforms:label element" error although it contains it

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"xforms:item must contain an xforms:label element" error although it contains it

Mauno
xforms-error.zip

If I reference non-existing element with select1 whole page gives me this "xforms:item must contain an xforms:label element" error. Attached zip contains minimal test-case for this problem.

Select1 does contain labels=

<xforms:group ref="instance('main')/emptyNode">
       <xforms:select1 id="testing_select1"
ref="instance('main')/emptyNode/select">
           <xforms:label ref="instance('dictionary')/heading"/>
           <xforms:item>
              <xforms:label ref="instance('dictionary')/label1"/>
              <xforms:value>test1</xforms:value>
           </xforms:item>
           <xforms:item>
              <xforms:label ref="instance('dictionary')/label2"/>
              <xforms:value>test2</xforms:value>
           </xforms:item>
        </xforms:select1>
    </xforms:group>

Reply | Threaded
Open this post in threaded view
|

Re: "xforms:item must contain an xforms:label element" error although it contains it

Erik Bruchez
Administrator
Thanks for the bug report. I think this should be fixed now.

-Erik

On Jan 22, 2008, at 6:36 AM, Mauno wrote:

>
> http://www.nabble.com/file/p15019882/xforms-error.zip xforms-error.zip
>
> If I reference non-existing element with select1 whole page gives me  
> this
> "xforms:item must contain an xforms:label element" error. Attached zip
> contains minimal test-case for this problem.
>
> Select1 does contain labels=
>
> <xforms:group ref="instance('main')/emptyNode">
>       <xforms:select1 id="testing_select1"
> ref="instance('main')/emptyNode/select">
>           <xforms:label ref="instance('dictionary')/heading"/>
>           <xforms:item>
>              <xforms:label ref="instance('dictionary')/label1"/>
>              <xforms:value>test1</xforms:value>
>           </xforms:item>
>           <xforms:item>
>              <xforms:label ref="instance('dictionary')/label2"/>
>              <xforms:value>test2</xforms:value>
>           </xforms:item>
>        </xforms:select1>
>    </xforms:group>
>
>
> --
> View this message in context: http://www.nabble.com/%22xforms%3Aitem-must-contain-an-xforms%3Alabel-element%22-error-although-it-contains-it-tp15019882p15019882.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws