aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-08-16 00:39:03 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-08-16 00:39:03 +0000
commit29b1748205897f727696b62fdba333efc9671440 (patch)
tree0fbd0025ff3d6fcd286b03834cba7d4d9c3cf1ad /test
parent774a3bd4cd32c6515c5ef7b13c949c30499f74b3 (diff)
downloadandroid_external_libxml2-29b1748205897f727696b62fdba333efc9671440.tar.gz
android_external_libxml2-29b1748205897f727696b62fdba333efc9671440.tar.bz2
android_external_libxml2-29b1748205897f727696b62fdba333efc9671440.zip
small typo pointed out by Mike Hommey slightly improved the --c14n
* xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel
Diffstat (limited to 'test')
-rw-r--r--test/scripts/set1.script2
-rw-r--r--test/scripts/set1.xml1
-rw-r--r--test/scripts/set3.script5
-rw-r--r--test/scripts/set3.xml1
-rw-r--r--test/scripts/set4.script4
-rw-r--r--test/scripts/set4.xml1
6 files changed, 14 insertions, 0 deletions
diff --git a/test/scripts/set1.script b/test/scripts/set1.script
new file mode 100644
index 00000000..e9a3e697
--- /dev/null
+++ b/test/scripts/set1.script
@@ -0,0 +1,2 @@
+set <b/>
+save -
diff --git a/test/scripts/set1.xml b/test/scripts/set1.xml
new file mode 100644
index 00000000..dcd06942
--- /dev/null
+++ b/test/scripts/set1.xml
@@ -0,0 +1 @@
+<a>foo</a>
diff --git a/test/scripts/set3.script b/test/scripts/set3.script
new file mode 100644
index 00000000..e99745ab
--- /dev/null
+++ b/test/scripts/set3.script
@@ -0,0 +1,5 @@
+cd *
+xpath //*[namespace-uri()="bar"]
+set <b/>
+xpath //*[namespace-uri()="bar"]
+save -
diff --git a/test/scripts/set3.xml b/test/scripts/set3.xml
new file mode 100644
index 00000000..211b4e55
--- /dev/null
+++ b/test/scripts/set3.xml
@@ -0,0 +1 @@
+<a xmlns="bar">foo</a>
diff --git a/test/scripts/set4.script b/test/scripts/set4.script
new file mode 100644
index 00000000..39d64cb9
--- /dev/null
+++ b/test/scripts/set4.script
@@ -0,0 +1,4 @@
+cd a/b
+set <a:c/>
+xpath //*[namespace-uri()="foo"]
+save -
diff --git a/test/scripts/set4.xml b/test/scripts/set4.xml
new file mode 100644
index 00000000..1ba44016
--- /dev/null
+++ b/test/scripts/set4.xml
@@ -0,0 +1 @@
+<a xmlns:a="bar"><b xmlns:a="foo"/></a>