jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JENA-188) Warn javadoc readers about the TURTLE writer's view of prefixes
Date Sun, 08 Jan 2012 17:49:39 GMT

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

Benson Margulies commented on JENA-188:
---------------------------------------

Andy,

I'm using 2.6.4, since I am too cowardly to update since there's no new TDB release to go
with.

In the source for 2.6.4, the relevant code is in N3JenaWriterCommon, and the variable prefix
code is all commented out. By experiment, I found (as per the email to the user list) that
a prefix of "urn:jug:c" would not be applied to a URI of "urn:jug:c#c1000". I suffered some
additional confusion due to the exclusion of "." as a valid character in the tail.

If this is just old news, of course feel free to close as such.

--benson

                
> Warn javadoc readers about the TURTLE writer's view of prefixes
> ---------------------------------------------------------------
>
>                 Key: JENA-188
>                 URL: https://issues.apache.org/jira/browse/JENA-188
>             Project: Jena
>          Issue Type: Improvement
>          Components: Jena
>    Affects Versions: Jena 2.7.0
>            Reporter: Benson Margulies
>            Priority: Minor
>         Attachments: JENA-188.patch
>
>
> The turtle writer only applies prefixes that end with '#' when shortening URIs. Here's
a javadoc patch to point this out to save other people the debugging that I just did.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message