Module org.apache.jena.arq
Package org.apache.jena.riot.lang.rdfxml
package org.apache.jena.riot.lang.rdfxml
RRX (RIOT RDF/XML) is a set of three RDF/XML parsers. They produce the same
output, same errors and the same warnings. Each has a
LangRDFXML_???
file
that is the RIOT reader interface implementation and a RDFXMLParser-???
class which is the parser engine.
- SAX based ParserRRX_SAX. This is the default parser for Jena5 onwards for RDF/XML in RIOT, i.e it is the registration for Lang.RDFXML and it is the fastest.
- A StAX-based parser using
XMLStreamReader
. - A StAX-based parser using
XMLEventReader
.
"ARP0" in package org.apach.jena-rdfxml.rdfxml0
This was the RDF/XML parser up to Jena 4.6.1. It handled IRIs directly using jena-iri.
"ARP1" is in package org.apach.jena-rdfxml.rdfxml1
is derived from ARP0.
It uses the IRIx
abstraction to handle IRIs.
It has error reporting aligned with RIOT.
Parser | Lang |
riot --syntax |
Notes |
---|---|---|---|
RDFXML | Lang.RDFXML |
System default | |
RRX SAX | Lang.RDFXML-SAX |
rrxsax |
|
RRX StAX stream reader | Lang.RDFXML-StAX-SR |
rrxstaxsr |
|
RRX StAX event reader | Lang.RDFXML-StAX-EV |
rrxstaxev |
|
ARP1 | RRX.RDFXML-ARP1 |
arp1 |
|
ARP0 | RRX.RDFXML_ARP0 |
arp0 |
-
ClassDescriptionRDF/XML.RDF/XML.Addition registration of RDF/XML parsers to given each its own
Lang
name.Common code across RRX parsers.