[Mulgara-general] IRI parsing flakiness
Gregg Reynolds
dev at mobileink.com
Sat Sep 19 17:06:11 UTC 2009
Hi,
It looks like IRIs containing "reserved" and "mark" chars don't agree with
Mulgara, although as I understand RFC 2396 (section 2.2, 2.3, 3.3) they
should be allowed in various components (e.g. '+' in paths). See
ticket 205<http://www.mulgara.org/trac/ticket/205#preview>
.
Also wrote simple scripts to automate testing each such char. It's a bit of
a pain since some reserved chars are ok in some components but not in
others. Plus Mulgara's error messages are not exactly models of precision.
;) So I created a little script to generate a bunch of N3 files, one goofy
URI per, and a script to load 'em up and write results in separate files, so
it's easy to see where the error is. I've found, for example, that ','
works in something like "U,0623", but not "U,062F" - chokes on the F. '+'
doesn't work in either "U+0623" or "U+062F".
The scripts are in the test/iri subdirectory of
Mulligan<http://bitbucket.org/gar/mulligan/>.
Should be easy to modify for testing purposes. (BTW the Ajax stuff in
Mulligan seems basically to be working, but you have to serve the webpage up
through a local server, just running it from the file system won't work.)
Hope that helps a bit,
gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20090919/fb57f124/attachment.htm>
More information about the Mulgara-general
mailing list