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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to