Re: forgiving error-handle mode?

thanks for responding Greg, so this list is alive..

was putting myself in the shoes of a frustated newcomer (in reality, i remember DanBri or DanC was posting some Ruby libraries around 2005, then ActiveRDF came from a few souls at Deri, and later Arto (i think) came up with RDF.rb and it is much refined in no small part due to your contributions since)

paths (sans hostname/scheme) are not allowed in NTriples? if that's the case, it's completely out of the scope of this list. i will go look it up..

curl http://whats-your.name/@http://dotrat.com?format=text/ntriples
<http://dotrat.com> <http://www.w3.org/ns/posix/dir#child> <http://dotrat.com/?p=4568.e> .
<http://dotrat.com> <http://www.w3.org/ns/posix/stat#size> "4096"^^<http://www.w3.org/2001/XMLSchema#integer> ...

curl http://whats-your.name/css?format=text/n3
</css> a <http://www.iana.org/assignments/media-types/inode/directory>;
   <http://www.w3.org/ns/posix/dir#parent> </>;
   <http://www.w3.org/ns/posix/dir#child> </css/edit.css>;

curl http://whats-your.name/css?format=text/ntriples
  0 bytes, after catching the invalid-triple exceptions with a rescue [1]

errata, path is really / since it's global on the server (any vhosts have /css since it's symlinked in there rather than into host-specific dir)
 , http://w3.org/ns/posix/dir doesnt resolve , the stat# sibling namespace does
 , not sure how you're supposed to resolve lookups about other hosts' resources so chose the @ prefix (does LDP touch on this?)

will go RTFM to see if :validate usage can get me smth > 0 bytes for case 3

[1] http://repo.or.cz/w/www.git/blob/HEAD:/ruby/Es/rdf.rb#l10

Received on Friday, 8 November 2013 06:29:56 UTC