[ https://issues.apache.org/jira/browse/JENA-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-2313: -------------------------------- Description: An operation needs to added to building a parser to allow a prefix map to be set for parsing a fragment of Turtle or TriG. The other environmental factor, the base, is already settable. This only applies to Turtle/TriG. N-Triples/N-quads fragments are self contained anyway. XML and JSON formats have the concept of a complete document nested by syntax so any fragment needs to be incorporated into a complete document. When not used, this feature should impose zero-cost on the parsing step. was: An operation needs to added to building a parser to allow a prefix map to be set for parsing a fragment of Turtle or TriG. The other environmental factor, the base, is already settable. This only applies to Turtle/TriG. N-Triples/N-quads fragments are self contained anyway. XML and JSON formats have the concept of a complete document nested by syntax so any fragment needs to be incorporated into a complete document. > Support parsing fragments of Turtle and TriG > -------------------------------------------- > > Key: JENA-2313 > URL: https://issues.apache.org/jira/browse/JENA-2313 > Project: Apache Jena > Issue Type: Improvement > Components: RIOT > Affects Versions: Jena 4.4.0 > Reporter: Andy Seaborne > Priority: Minor > Fix For: Jena 4.5.0 > > > An operation needs to added to building a parser to allow a prefix map to be > set for parsing a fragment of Turtle or TriG. > The other environmental factor, the base, is already settable. > This only applies to Turtle/TriG. > N-Triples/N-quads fragments are self contained anyway. > XML and JSON formats have the concept of a complete document nested by syntax > so any fragment needs to be incorporated into a complete document. > When not used, this feature should impose zero-cost on the parsing step. -- This message was sent by Atlassian Jira (v8.20.1#820001)