[
https://issues.apache.org/jira/browse/JENA-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836749#comment-13836749
]
Andy Seaborne commented on JENA-599:
------------------------------------
An XML Literal must in "exclusive canonical" form in be valid by the RDF XML
Literal datatype. The rules are complicated,often unexpected, and burdensome.
{{<br/>}} is not in canonical form; it must be {{<br></br>}}.
http://www.w3.org/TR/rdf-concepts/#section-XMLLiteral
http://www.w3.org/TR/xml-exc-c14n/
> RIOT validation logs valid XML as invalid
> -----------------------------------------
>
> Key: JENA-599
> URL: https://issues.apache.org/jira/browse/JENA-599
> Project: Apache Jena
> Issue Type: Bug
> Affects Versions: Jena 2.10.0, Jena 2.11.0
> Reporter: Dave Minter
> Attachments: jena-bug.zip
>
>
> If an XMLLiteral contains an atomic XML element such as <br/> rather than a
> start/end element pair such as <br></br> the model validation logs this at
> WARN as being invalid. See attached example.
--
This message was sent by Atlassian JIRA
(v6.1#6144)