You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2024/03/31 21:22:55 UTC

[I] Update `PrefixMappingImpl` prefix checking rule to align with Turtle and XML 1.1 [jena]

afs opened a new issue, #2387:
URL: https://github.com/apache/jena/issues/2387

   Follows on from #2383.
   
   Update Jena to follow Turtle uniformly except for RDF/XML output which should remain as valid for XML 1.0 / Jena 5.0.0 and earlier.
   
   This allows all Turtle prefixes in Turtle (TriG was not affected - it used `PrefixMap`, unlike Turtle which used jena-core `PrefixMappingImpl` for `Graph`).
   
   XML 1.0 has a restricted set of characters allow in a qname namespace string, In addition, Jena's XML 1.0 support is limited to being less than U+10000 (one java char).
   
   Turtle, and related syntaxes, including SPARQL, follow XML 1.1 (Turtle: [PN_CHARS_BASE](https://www.w3.org/TR/turtle/#grammar-production-PN_CHARS_BASE), such as 😀 U+1F600)
   
   Other than a test added in PR #2384 that needs updating, no other tests change.
   
   RDF/XML output compatibility maintained by isolating RDF/XML output with its own versions of qname splitting code.
   
   The other issue users encounter, localname or a property start with a digit, which is legal Turtle and illegal RDF/XML, is not fixed (and can't be - it's a restriction in RDF/XML that proertties must be XML qnames).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Update `PrefixMappingImpl` prefix checking rule to align with Turtle and XML 1.1 [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs closed issue #2387: Update `PrefixMappingImpl` prefix checking rule to align with Turtle and XML 1.1
URL: https://github.com/apache/jena/issues/2387


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org