[ 
https://issues.apache.org/jira/browse/JENA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Vesse closed JENA-560.
--------------------------

    Resolution: Invalid

Closing as invalid

Per prior comment Jena's validation behaviour for XML literals is correct with 
regards to the XML canonicalization specifications to which RDF draws its 
definition of the lexical space of XML literals

> jena riotcmd.ntriples XMLLiteral warning for attribute order
> ------------------------------------------------------------
>
>                 Key: JENA-560
>                 URL: https://issues.apache.org/jira/browse/JENA-560
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: RIOT
>    Affects Versions: Jena 2.11.1
>         Environment: Jena:       VERSION: 2.11.1-SNAPSHOT
> Jena:       BUILD_DATE: 20131006-0756
> ARQ:        VERSION: 2.11.1-SNAPSHOT
> ARQ:        BUILD_DATE: 20131006-0756
> RIOT:       VERSION: 2.11.1-SNAPSHOT
> RIOT:       BUILD_DATE: 20131006-0756
>            Reporter: Sarven Capadisli
>
> Given foo.nt:
> {{<http://example.org/1> <http://purl.org/dc/terms/description> "<div 
> xmlns=\"http://www.w3.org/1999/xhtml\"; xml:lang=\"en\"><p b-c=\"bar\" 
> a=\"foo\">3</p></div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
>  .}}
> {quote}
> $ java riotcmd.ntriples --validate foo.nt
> WARN  [line: 1, col: 63] Lexical form '<div 
> xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en"><p b-c="bar" 
> a="foo">3</p></div>' not valid for datatype 
> http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral
> {quote}
> Changing the attribute order in p, given bar.nt:
> {{<http://example.org/1> <http://purl.org/dc/terms/description> "<div 
> xmlns=\"http://www.w3.org/1999/xhtml\"; xml:lang=\"en\"><p a=\"foo\" 
> b-c=\"bar\">3</p></div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
>  .}}
> {quote}
> $ java riotcmd.ntriples --validate bar.nt
> {quote}
> does not throw warnings.
> The expectation is that, foo.nt should not throw an error.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to