[ 
https://issues.apache.org/jira/browse/JENA-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344807#comment-17344807
 ] 

ASF subversion and git services commented on JENA-2104:
-------------------------------------------------------

Commit 0262b2ed61b5fbc1880811aaa5a88ffe4c380ddf in jena's branch 
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=0262b2e ]

JENA-2104: Check for bnodes for using ()-list syntax


> Turtle pretty printer assumes bnodes in rdf:List
> ------------------------------------------------
>
>                 Key: JENA-2104
>                 URL: https://issues.apache.org/jira/browse/JENA-2104
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: RIOT
>    Affects Versions: Jena 3.15.0
>            Reporter: Martynas Jusevičius
>            Priority: Minor
>
> Turtle/Trig pretty printer does not round-trip URIs in {{rdf:List}} and turns 
> them into blank nodes.
> Command:
> {{riot--stream=pretty rdf_list.ttl}}
> rdf_list.ttl:
> {code}
> <http://s> <http://p> <http://s#content1> .
> <http://s#content1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
> <http://first> .
> <http://s#content1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
> <http://s#content2> .
> <http://s#content2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
> "<div 
> xmlns=\"http://www.w3.org/1999/xhtml\";><p>second</p></div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
> .
> <http://s#content2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
> {code}
> Result:
> {code}
> <http://s>  <http://p>  ( <http://first> "<div
> xmlns=\"http://www.w3.org/1999/xhtml\";><p>second</p></div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
> ) .
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to