diff options
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/.memdump | 4 | ||||
-rw-r--r-- | test/scripts/set1.script | 2 | ||||
-rw-r--r-- | test/scripts/set1.xml | 1 | ||||
-rw-r--r-- | test/scripts/set2.script | 3 | ||||
-rw-r--r-- | test/scripts/set2.xml | 1 | ||||
-rw-r--r-- | test/scripts/set3.script | 5 | ||||
-rw-r--r-- | test/scripts/set3.xml | 1 | ||||
-rw-r--r-- | test/scripts/set4.script | 4 | ||||
-rw-r--r-- | test/scripts/set4.xml | 1 |
9 files changed, 20 insertions, 2 deletions
diff --git a/test/scripts/.memdump b/test/scripts/.memdump index 65b5fcc..122e4aa 100644 --- a/test/scripts/.memdump +++ b/test/scripts/.memdump @@ -1,4 +1,4 @@ - 05:38:46 PM + 12:14:38 AM - MEMORY ALLOCATED : 0, MAX was 15611 + MEMORY ALLOCATED : 0, MAX was 21622 BLOCK NUMBER SIZE TYPE diff --git a/test/scripts/set1.script b/test/scripts/set1.script new file mode 100644 index 0000000..e9a3e69 --- /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 0000000..dcd0694 --- /dev/null +++ b/test/scripts/set1.xml @@ -0,0 +1 @@ +<a>foo</a> diff --git a/test/scripts/set2.script b/test/scripts/set2.script new file mode 100644 index 0000000..0d60777 --- /dev/null +++ b/test/scripts/set2.script @@ -0,0 +1,3 @@ +cd a +set <!-- test multiple children --> <b/> <c/> +save - diff --git a/test/scripts/set2.xml b/test/scripts/set2.xml new file mode 100644 index 0000000..dcd0694 --- /dev/null +++ b/test/scripts/set2.xml @@ -0,0 +1 @@ +<a>foo</a> diff --git a/test/scripts/set3.script b/test/scripts/set3.script new file mode 100644 index 0000000..e99745a --- /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 0000000..211b4e5 --- /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 0000000..39d64cb --- /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 0000000..1ba4401 --- /dev/null +++ b/test/scripts/set4.xml @@ -0,0 +1 @@ +<a xmlns:a="bar"><b xmlns:a="foo"/></a> |