XMLLiterals have heavy validation
The factory for XMLLiterals pastes the text into a stub of RDF and runs the parser against it. This can fail in Eclipse if serializer-ver.jar is not in the classpath. More importantly, this is expensive, and unnecessary when loading the datum out of the string pool.
The validation should be reviewed, and completely avoided for loading from the string pool.
See org.mulgara.store.stringpool.xa.SPXMLLiteralImpl.validate(String):101 for details.