I'm also aware of NodeFormatter but the problem is that it only takes a Writer so if you just want strings for display or passing off to tools that are non RDF aware then you have to faff around with StringWriter which is overly complex especially when you need to generate many of these strings
The intention was to allow code to call FmtUtils.stringForNode() and not have plain literal forms used when not desired e.g. Always get the full typed literal serialization Rob On 4/24/12 8:42 AM, "Andy Seaborne" <a...@apache.org> wrote: >Rob, > >My curiosity - what are you using the "plain literal" mode in >SerializationContext for? > > >See also > >org.openjena.riot.out.NodeFormatter > >although occasionally that codes dives into call the old stuff behind >the scenes. > > Andy