Github user afs commented on the issue:
https://github.com/apache/jena/pull/299
@hartig - I'm ambivalent on changing `ParserProfileStd` because that
guarantee on `checkTriple` (and `checkQuad`) checks a condition that a lot of
code assumes is valid and does not check again. Hence the "Std".
How about changing Jena so the `checkTriple` is publicly accessible and
also adding, in Jena, `ParserProfileWrapper` so that operations can be
intercepted and changed?
(Incidently, this would be good to anyway for "generalized RDF" as defined
in RDF 1.1)
```
TurtleStarReaderRIOT(Lang lang, ParserProfile parserProfile) {
this.lang = lang;
this.parserProfile = new ParserProfileRDFStar(parserProfile);
}
```
```
public class ParserProfileRDFStar extends ParserProfileWrapper {
public ParserProfileRDFStar(ParserProfile parserProfile) {
super(parserProfile); }
@Override public void checkTriple(...
@Override public void checkQuad(...
}
```
---