--- Anindita Goswami <[EMAIL PROTECTED]> wrote:

>  <xforms:repeat nodeset="errors/error">
>          <xxforms:hidden ref="@xxforms:error" xhtml:id="Error"/>
>  </xforms:repeat>
>  
> class java.lang.NullPointerException

Hi Anindita,

I would need to reproduce the problem to help you on this one. But before
we go down this path, can you try to see if this patch fixes the problem
you are having (make a copy of your orbeon.jar and replace it with the one
linked below):

http://www.orbeon.com/download/oxf/2005-02-03/orbeon.jar

> <xsl:for-each select="$errors/error">
>     <xxforms:hidden ref="../../global-validation">
>         <xforms:alert><xsl:value-of select="."/></xforms:alert>
>     </xxforms:hidden>
> </xsl:for-each>
> 
> It is also throwing following error:
> 
> null, line -1, column -1 : Single-node binding expression 
> '../../global-validation' returned an empty nodeset : null, line -1, 

This means that the XForms processor chocks on the "ref" expression, which
in this case does not return a non-empty nodeset as expected. Can you
check that expression? Note that the XPath expression in the "ref" is
relative to the enclosing <xforms:group>, <xforms:repeat>, etc elements
(not to the <xsl:for-each>).

Alex



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to