Hi Dan
> private RDFnode m_predicate = null;
> private RDFnode m_subject = null;
> private RDFnode m_object = null;
>
> ...although this could be tighter. The predicate is always a Property,
> and the subject is always a resource, so we shouldn't suggest other
> species of RDFnode would be valid things to have here.
:-) I used to have it tighter but from SiRPAC perspective it was
easier not to cast instances on some occasions but just pass on the base
type... I'll try to see if there's not too much casting to do.
> To get some testing done quickly, I've hacked the toString() method of
> Literal so we have:
> public String toString () {
> return "\\\""+m_sLiteral+"\\\"";
> }
I did a quick rewrite on the printTriples method but removed before I sent
the files to you, sorry. I'm glad you came up with a quick solution yourself.
Janne
ps. One of these days when I get things done :-)
--
Janne Saarela | Visiting scientist
Email: jsaarela@w3.org | World Wide Web Consortium http://www.w3.org/