You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Oliver Janner (JIRA)" <ji...@apache.org> on 2013/12/05 13:05:35 UTC

[jira] [Updated] (MARMOTTA-248) Prefixes with some special character are not registered

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

Oliver Janner updated MARMOTTA-248:
-----------------------------------

    Attachment: marmotta-248.patch

Patch added (supports '_' , '-' and '.')

> Prefixes with some special character are not registered
> -------------------------------------------------------
>
>                 Key: MARMOTTA-248
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-248
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Admin Interface, Web Services
>    Affects Versions: 3.1-incubating
>            Reporter: Sergio Fernández
>            Assignee: Sergio Fernández
>            Priority: Trivial
>              Labels: prefix
>             Fix For: 3.2
>
>         Attachments: marmotta-248.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Matteo Busanelli has reported that the prefix manager is not registering new prefixes with "-" and/or "_" in the prefix name:
> http://markmail.org/message/ludibt2hvv4n6ruu
> There are to things to improve here:
> 1) Improve the feedback given to the user for those errors
> 2) Extend the prefix names supported by the web service
> Because those prefixes should be fine, and actually Marmotta/Sesame handles them. But the limitation is in the definition of the web service, which currently uses this pattern is 
> [a-z][a-zA-Z0-9]+
> See: 
> https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=blob;f=platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java;h=7c94692360eea235eb1ec6c88d564e5e682ddb9f;hb=HEAD#l55
> Then it is clear it should support more, probably the normative prefix names defined by RDF/SPARQL, see:
> http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX



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