- From: Graham Klyne <GK@ninebynine.org>
- Date: Wed, 21 Apr 2004 15:46:49 +0100
- To: uri@w3.org
At 18:57 19/04/04 -0700, Roy T. Fielding wrote: >If you have a URI syntax implementation (client, server, >whatever), please test it for consistency with the given >test cases (and any other tests that you wish to come up with >based on draft 05) and send the results to this list. In the process of revisiting my implementation, I've extracted all of my test cases (which include those in the spec, and many more) into an external description using RDF [1], and developed a new test harness to be driven by the test descriptions rather than by hand-coded test cases. I think it would be possible (and not too hard) to generate test code for a variety of different platforms from the RDF data. At this time, I still have to revise my code to bring it in line with the final decision on handling of leading dot segments. Otherwise, all tests are passed OK [2]. #g -- [1] http://www.ninebynine.org/Software/HaskellUtils/Network/URITestDescriptions.html [2] URITest> main ### Failure in: 195 RFC35 expected: "http://a/g" but got: "http://a/../g" ### Failure in: 197 RFC33 expected: "http://a/g" but got: "http://a/../../g" ### Failure in: 198 RFC32 expected: "http://a/g" but got: "http://a/../g" ### Failure in: 235 Relative49 expected: "foo:" but got: "foo:.." Cases: 513 Tried: 513 Errors: 0 Failures: 4 URITest> ------------ Graham Klyne For email: http://www.ninebynine.org/#Contact
Received on Wednesday, 21 April 2004 11:15:01 UTC