afs commented on code in PR #2477:
URL: https://github.com/apache/jena/pull/2477#discussion_r1605542395
##########
jena-arq/src/main/java/org/apache/jena/riot/lang/rdfxml/rrx_stax_ev/ParserRDFXML_StAX_EV.java:
##########
@@ -638,9 +637,15 @@ private XMLEvent propertyElementProcess(Node subject,
StartElement startElt, Cou
}
String parseTypeName = parseType;
- if ( parseTypeName.equals(parseTypeLiteralAlt) ) {
- Log.warn(SysRIOT.getLogger(), "Encountered
rdf:parseType='literal'. Treated as rdf:parseType='literal'");
- parseTypeName = "Literal";
+ switch( parseTypeName) {
+ case parseTypeLiteralAlt -> {
+ RDFXMLparseWarning("Encountered rdf:parseType='literal'.
Treated as rdf:parseType='literal'", location);
Review Comment:
Good catch!
The correct form (standard) is `rdf:parseType='Literal'` (Uppercase-L).
--
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]