Notation 3 support
Gregory Williams
greg at evilfunhouse.com
Mon Jul 5 18:17:34 CEST 2010
On Jul 5, 2010, at 11:28 AM, Toby Inkster wrote:
> I was planning on keeping the parser, serialiser and formula modules as
> being called:
>
> RDF::Trine::Parser::Notation3
> RDF::Trine::Serializer::Notation3
> RDF::Trine::Node::Formula
>
> And RDF::TriN3 would be a wrapper module that loads RDF::Trine plus the
> N3 extensions. Is this use of the RDF::Trine namespace OK with you?
Yes. As long as people aren't just carving out parts of my namespace without my knowledge, I'm generally OK with it.
> Well, throwing an error or dying are conceptually similar as far as I'm
> concerned. The four options I'm looking for are along the line of:
>
> 1. bail out altogether (which I'm calling 'die')
> 2. skip the offending triple, make a fuss, carry on ('warn')
> 3. skip the offending triple, carry on ('skip')
> 4. forcibly serialise ('force')
>
> Whether it 'dies' by calling 'die', 'croak', 'throw' or some other
> exotically named function is not important.
Well, it is important if you care what framework you want to use to handle the "exceptions", but I take the point.
.g
More information about the Dev
mailing list