A command line interface into ARP.
Creates NTriple's or just error messages.
java <class-path> jena.rdfparse ( [ -[xstfu]][ -b xmlBase -[eiw] NNN[,NNN...] ] [ file ] [ url ] )...
java <class-path> jena.rdfparse --test
java <class-path> jena.rdfparse --internal-test
The last two forms are for testing. --test
runs ARP
against the RDF Core Working Group tests found at w3.org.
--internal-test
uses a cached copy from within the jena.jar.
All options, files and URLs can be intemingled in any order.
They are processed from left-to-right.
file - Converts (embedded) RDF in XML file into N-triples
-
url
- Converts (embedded) RDF from URL into N-triples
-
-b uri
- Sets XML Base to the absolute URI.
-
-r
- Content is RDF (no embedding, rdf:RDF tag may be omitted).
-
-t
- No n-triple output, error checking only.
-
-x
- Lax mode - warnings are suppressed.
-
-s
- Strict mode - most warnings are errors.
-
-u
- Allow unqualified attributes (defaults to warning).
-
-f
- All errors are.error - report first one only.
-
-b url
- Sets XML Base to the absolute url.
-
-e NNN[,NNN...]
-
Treats numbered warning conditions as errrors.
-
-w NNN[,NNN...]
-
Treats numbered error conditions as warnings.
-
-i NNN[,NNN...]
-
Ignores numbered error/warning conditions.