summaryrefslogtreecommitdiff
path: root/example/bugs.sql
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2019-02-03 21:42:35 +0300
committerdefanor <defanor@uberspace.net>2019-02-03 21:42:35 +0300
commit83a90895a5b6f1267ad272bfe23a6b604068d3c0 (patch)
tree8e9e59ac917c53a7c1921e6fcee14c35a7d0cae4 /example/bugs.sql
parent7bc223ad6408a36072b5196fbf0dcc7de15b0984 (diff)
Replace HXT with libxml
The primary issue is that str:encode-uri function from EXSLT is not available with HXT (but available with libxml's friends: libxslt and libexslt, which are generally more complete). This function is important for HTML documents. Another reason is libxml being better documented and somewhat easier to work with. Yet another reason to switch is the intent to avoid dependencies that reimplement common functionality, and/or normally get statically linked.
Diffstat (limited to 'example/bugs.sql')
-rw-r--r--example/bugs.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/bugs.sql b/example/bugs.sql
index 033a1f7..eadb89a 100644
--- a/example/bugs.sql
+++ b/example/bugs.sql
@@ -30,7 +30,7 @@ as $$
|| 'where (project like ' || quote_literal('%' || proj || '%')
|| ') and (description like ' || quote_literal('%' || descr || '%')
|| ') order by reported desc limit ' || lim || ' offset ' || offs,
- false, false, 'bugs')
+ false, false, 'urn:x-bugs')
$$ language sql;
-- Now users can be added with select and/or insert privileges,