Github user afs commented on the issue:

    https://github.com/apache/jena/pull/455
  
    Great test, thanks!
    
    It will register itself:
    
            Lang lang =  TurtleJavaccReaderRIOT.lang;
            TurtleJavaccReaderRIOT.register();
            RDFParser.create().forceLang(lang).source(FILE).build()
                .parse(StreamRDFLib.writer(System.out));
    
    It has a won't-clash MIME type ("text/turtle-jcc") and file extension 
("ttljcc") even though it is not really for general use. `forceLang` cause the 
parser to always use the `lang` whatever the FILE may say.


---

Reply via email to