Permalink
Browse files

Add testcaser for issue concat operator in attributes

  • Loading branch information...
dizzzz committed Mar 30, 2014
1 parent 65540f5 commit 4f87bcd275c84f03eeab320c9233f63dfdc266c2
Showing with 7 additions and 1 deletion.
  1. +7 −1 test/src/xquery/xquery3/concat.xql
@@ -88,4 +88,10 @@ declare
%test:assertError("FOTY0013")
function concat:bad-argument() {
("abc" || "abc" || fn:concat#3)
-};
+};
+
+(: declare
+ %test:assertEquals("<a b='ccdd'/>")
+function concat:attributes1() {
+ <a b="{ 'cc' || 'dd'}"/>
+}; :)

0 comments on commit 4f87bcd

Please sign in to comment.