summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/www/script/test/view_xml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/view_xml.js b/share/www/script/test/view_xml.js
index 451fb6a8..3403b47c 100644
--- a/share/www/script/test/view_xml.js
+++ b/share/www/script/test/view_xml.js
@@ -22,7 +22,7 @@ couchTests.view_xml = function(debug) {
var results = db.query(
"function(doc) {\n" +
" var xml = new XML(doc.content);\n" +
- " emit(xml.title.text(), null);\n" +
+ " emit(xml.title.text().toXMLString(), null);\n" +
"}");
T(results.total_rows == 2);
T(results.rows[0].key == "Testing E4X");
@@ -31,7 +31,7 @@ couchTests.view_xml = function(debug) {
var results = db.query(
"function(doc) {\n" +
" var xml = new XML(doc.content);\n" +
- " emit(xml.title.@id, null);\n" +
+ " emit(xml.title.@id.toXMLString(), null);\n" +
"}");
T(results.total_rows == 2);
T(results.rows[0].key == "e4x");