DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33032>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33032 Summary: string() works incorrectly in conjunction with scoped variables Product: Taglibs Version: 1.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Standard Taglib AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Below are two snippets of code, first one works (i.e. variable is initialized to string correctly), second one does not (variable is set to empty string). The only difference is that in the first one function string() is used on a simple variable instead of complex expression. Working snippet: <x:set var="navigationPath" select="$content/content/pages/page/url[text() = $contentUrl]/../navigation-path" scope="request"/> <x:set var="navigationPath" select="string($navigationPath)" scope="request"/> Non-working snippet: <x:set var="navigationPath" select="string($content/content/pages/page/url[text() = $contentUrl]/../navigation-path)" scope="request"/> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
