On 19/08/14 13:26, Arthur Vaïsse-Lesteven wrote:
Hi,

My question is in the title : Is it normal that NodeFmtLib.str method use a 
standard prefix map?

The javadoc says :"Methods str generate a reparsable string. Methods displayStr do 
not guarantee a reparsable string  e.g. may use abbreviations or common prefixes."

But in fact when using str(Triple triple) I got result containing "rdf:type", 
that is a common prefix.
Searching the why, I saw that the method use the 
ARQConstants.getGlobalPrefixMap() as default prefixeMapping if none is 
furnished.

Isn't it contradicting the JAVADOC ?

Arthur.


This is an issue that has been fixed.  Try 2.12.1-SNAPSHOT

rdf:type will not be used unless a prefix map is explicitly given. i.e.the documentation is right, the code was wrong.

        Andy

Reply via email to