summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.xqy
diff options
context:
space:
mode:
authorSteve Spigarelli <spig@spig.net>2010-12-20 23:51:12 -0700
committerSteve Spigarelli <spig@spig.net>2010-12-20 23:51:12 -0700
commit12f1cdf6b1aa66f260c9730aea18a13ac6b9f873 (patch)
treec3864f7e044acd1a4df7240c43e7f9990f60be97 /tests/examplefiles/test.xqy
parentd584af251c63006a42d316bd8fac177e998ca402 (diff)
downloadpygments-12f1cdf6b1aa66f260c9730aea18a13ac6b9f873.tar.gz
updated test file and updated web.py to have some fixes for &nbsp; entity and fixed some element_content callbacks that were injecting operators instead
Diffstat (limited to 'tests/examplefiles/test.xqy')
-rw-r--r--tests/examplefiles/test.xqy3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/examplefiles/test.xqy b/tests/examplefiles/test.xqy
index b55c4848..92f9d5a6 100644
--- a/tests/examplefiles/test.xqy
+++ b/tests/examplefiles/test.xqy
@@ -14,7 +14,7 @@ declare variable $SESSIONS as element(sess:session)* := c:sessions();
declare option sess:clear "false";
-define function whatsit($param xs:string) as xs:string {
+define function whatsit($param as xs:string) as xs:string {
let $var1 := 1
let $var2 := 2
return (1 + 2 div ($var1 + $var2))
@@ -132,4 +132,5 @@ return
</form>
</outer>
}
+ <tr><td><!-- some commented things-->&nbsp;</td></tr>
</html>