aboutsummaryrefslogtreecommitdiffstats
path: root/test/URI
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-02-02 17:07:32 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-02-02 17:07:32 +0000
commitb6e7fdbac64423e63474fbb4b95770209f280797 (patch)
treef16b34c69d032795113b040a0dd76c7459fe41e5 /test/URI
parentea28ce621cc19a1444b98965a311693f0acdc7a6 (diff)
downloadandroid_external_libxml2-b6e7fdbac64423e63474fbb4b95770209f280797.tar.gz
android_external_libxml2-b6e7fdbac64423e63474fbb4b95770209f280797.tar.bz2
android_external_libxml2-b6e7fdbac64423e63474fbb4b95770209f280797.zip
Rewrite/cleanup/tests of URI normalization:
- uri.c: rewrite of xmlNormalizeURIPath from Paul D. Smith - test/URI/smith.uri result/URI/smith.uri Makefile.am: added the new tests for URI normalization - testURI.c: fixed stoopid bugs - result/VC/OneID3 result/VC/UniqueElementTypeDeclaration: the URI in the error messages are now properly normalized Daniel
Diffstat (limited to 'test/URI')
-rw-r--r--test/URI/smith.uri15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/URI/smith.uri b/test/URI/smith.uri
new file mode 100644
index 00000000..6cc6c875
--- /dev/null
+++ b/test/URI/smith.uri
@@ -0,0 +1,15 @@
+/foo/../bar
+foo/../bar
+./foo/../bar
+foo/./../bar
+foo/bar/.././../baz
+foo/..
+foo/bar/..
+./foo
+././foo
+.././foo./
+.././foo/.
+/foo
+../foo
+../../foo
+../../../foo