Hello Stephen,
This TypeError is a bug by itself and I agree that the 2 XPath
expressions should return the same results.
Could you please send me a testcase?
Did you test with different browsers?
Thanks!
-Alain
Le 30/01/2012 23:18, Stephen Cameron a écrit :
> Hello
>
> I am interested to know why the following Xpath is incorrect
>
> Error evaluating the following XPath expression :
>
> instance('rendering')/s2x:render-list[s2x:render-for =
> 'xs:schema/xs:element']/s2x:render[@as=current()]/s2x:description
>
> TypeError
>
> node.documentElement is undefined
>
> However, this modification fixes it:
>
> instance('rendering')/s2x:render-list[s2x:render-for[. =
> 'xs:schema/xs:element']]/s2x:render[@as=current()]/s2x:description
>
> I imagine that they are the same thing effectively?
>
> Regards
>
> Steve Cameron
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> 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-dev2
>
>
> _______________________________________________
> Xsltforms-support mailing list
> Xsl...@li...
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
|