You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/08/08 20:22:00 UTC

[jira] [Updated] (JENA-1588) When using a triple quote delimiter on string data in TTL, if the string ends in the same quote character as the delimiter a RIOT exception is thrown.

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

Andy Seaborne updated JENA-1588:
--------------------------------
    Issue Type: Question  (was: Bug)

> When using a triple quote delimiter on string data in TTL, if the string ends in the same quote character as the delimiter a RIOT exception is thrown.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-1588
>                 URL: https://issues.apache.org/jira/browse/JENA-1588
>             Project: Apache Jena
>          Issue Type: Question
>          Components: Core
>    Affects Versions: Jena 3.8.0
>            Reporter: Rick Spates
>            Priority: Minor
>         Attachments: JenaRiotBug.groovy
>
>
> When using a triple quote delimiter on string data in TTL, if the string ends in the same quote character as the delimiter a RIOT exception is thrown.  For example, 
> @prefix eg: <http://example.com#> .
> @prefix xs: <http://www.w3.org/2001/XMLSchema#> .
> [eg:name """Doe, Joe "Joey""""^^xs:string ;
> ]
> When calling model.read() with this TTL, this exception is thrown:
> org.apache.jena.riot.RiotException: [line: 5, col: 1 ] Broken token (newline): ^^xs:string ;
>  
> See this illustrated in the attached code example, JenaRiotBug.groovy
> Note this affects both single and double quote triple-quote delimiters



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)