Hello Grégoire,

This error message is displayed when a nodeset is expected and when the 
result of the expression evaluation is not returning a nodeset.

For example, confusing xf:output/@ref and xf:output/@value could produce 
this error.

Could you please tell where this big XPath expression is used?

Thanks!

-Alain

Le 02/02/2012 20:45, Grégoire COLBERT a écrit :
> Hi!
>
> I upgraded to revision 523 and I now get an error during initialization:
>
> Binding evaluation didn't returned a nodeset but '  ' for XPath
> expression: concat( substring(instance('instance-annonces')/annonce[id =
> instance('instance-annonce-selectionnee')/id]/prix,string-length(instance('instance-annonces')/annonce[id
> = instance('instance-annonce-selectionnee')/id]/prix)-8, 3) , ' ' ,
> substring(instance('instance-annonces')/annonce[id =
> instance('instance-annonce-selectionnee')/id]/prix,string-length(instance('instance-annonces')/annonce[id
> = instance('instance-annonce-selectionnee')/id]/prix)-5, 3) , ' ' ,
> substring(instance('instance-annonces')/annonce[id =
> instance('instance-annonce-selectionnee')/id]/prix,string-length(instance('instance-annonces')/annonce[id
> = instance('instance-annonce-selectionnee')/id]/prix)-2, 3) )
>
> This ugly XPath is used to separate large numbers in (up to) 3 groups of
> numbers (1234567 is displayed as 1 234 567). I know I could do this
> differently, but for now, I'd like to know why this doesn't work anymore?
>
> Thanks,
> Grégoire
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to