Hey,

Jena seems to use another DTD than the one hosted by W3C:
https://www.w3.org/2004/03/trix/trix-1/trix-1.0.dtd vs.
https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/riot/lang/TriX.java

>From the first glance, at least the root element differs: <trix> vs. <TriX>.

The TriX namespace resolves to that DTD version, so I would expect it
to be "standard": http://www.w3.org/2004/03/trix/trix-1/

As a result, we are getting parse errors when trying to read TriX that
conform to W3C DTD:

  ERROR riot:84 - [line: 2, col: 54] Unrecognized XML element: trix

Can we agree that the DTD should be fixed? I can make a pull request.

Martynas
atomgraph.com

Reply via email to