# $Id: url_error.tests,v 1.2 1994/05/11 22:37:04 connolly Exp $ # # Error Test Suite for Uniform Resource Identifier Syntax # # TEST SUITE FORMAT # Each line is a test case, with 1 or 2 tab-delimited fields: # there here # (HREF/SRC) (BASE) # (relative parsing not supported for grammar testing) # # This is illegal, even though it's not detected by the grammar: anon-%66tp://ftp.host.com/dir/file.ps # So is this: x-test-scheme://host:-*.0-9@A-Z_a-z/ # can't use '~' chars without escaping them. local-file:/~connolly/home.html # local files: # error: port numbers not used in local-file scheme local-file://ulua.hal.com:79/etc/motd local-file://ulua.hal.com:NTTP/etc/motd # backwards compatibility: file scheme file:/etc/motd file://ulua.hal.com/etc/motd # garbage syntax: ftp://host.com/no-colons:in-file-names http://host.com/path?no-colons:in-search-words http://host.com/path?no-slashes/in-search-words http://host.com/path#no-hooks?in-fragment-ids x-test-scheme:/slash%3D%2F=slash%3D%2F;slash2%3D%2F=slash2%3D%2F http://host/1234?Name=foo&Age=21