summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.xqy
diff options
context:
space:
mode:
authorSteve Spigarelli <spig@spig.net>2012-04-04 16:53:24 -0600
committerSteve Spigarelli <spig@spig.net>2012-04-04 16:53:24 -0600
commitd7866587d05f336833701ead594e0dbeba83471d (patch)
tree33b6782631f62c21d8e4c595f9038b89fac091b7 /tests/examplefiles/test.xqy
parent60f545708165f7e3fefbd15ad59d47916bf83235 (diff)
downloadpygments-d7866587d05f336833701ead594e0dbeba83471d.tar.gz
passing new tests for global namespaces
Diffstat (limited to 'tests/examplefiles/test.xqy')
-rw-r--r--tests/examplefiles/test.xqy4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/examplefiles/test.xqy b/tests/examplefiles/test.xqy
index 92f9d5a6..c626ea96 100644
--- a/tests/examplefiles/test.xqy
+++ b/tests/examplefiles/test.xqy
@@ -25,13 +25,15 @@ define function whatsit($param as xs:string) as xs:string {
element test { 'a' },
attribute foo { "bar" },
fn:doc()[ foo/@bar eq $let ],
- //x/with/another/xpath/@attr }
+ //x/with/another/*/*:version/xpath/@attr }
};
let $bride := "Bride"
let $test := validate lax { <some>html</some> }
let $test := validate strict { <some>html</some> }
let $test := validate { <some>html</some> }
+let $test := $var1/*:Article (: comment here :) [fn:not()]
+let $test := $var1/@*:name/fn:string()
let $noop := ordered { $test }
let $noop := unordered { $test }