Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-248

Prefixes with some special character are not registered

Details

    Description

      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

      Attachments

        1. marmotta-248.patch
          0.9 kB
          Oliver Janner

        Issue Links

          Activity

            jakob Jakob Frank added a comment -

            shifted as agreed during the IRC release preparation meeting

            jakob Jakob Frank added a comment - shifted as agreed during the IRC release preparation meeting
            Oliver Janner Oliver Janner added a comment -

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

            Oliver Janner Oliver Janner added a comment - Patch added (supports '_' , '-' and '.')

            Commit 6fa1c4fed893b746bb9132e1f3ddfddf98608ff9 in branch refs/heads/maintenance-3.1.x from wikier
            [ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=6fa1c4f ]

            MARMOTTA-248: applied the patch from Oliver Janner

            jira-bot ASF subversion and git services added a comment - Commit 6fa1c4fed893b746bb9132e1f3ddfddf98608ff9 in branch refs/heads/maintenance-3.1.x from wikier [ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=6fa1c4f ] MARMOTTA-248 : applied the patch from Oliver Janner

            Commit fe53dfb82077acc6045cab96b7e8e3af61d6ddf4 in branch refs/heads/develop from wikier
            [ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=fe53dfb ]

            MARMOTTA-248: applied the patch from Oliver Janner

            jira-bot ASF subversion and git services added a comment - Commit fe53dfb82077acc6045cab96b7e8e3af61d6ddf4 in branch refs/heads/develop from wikier [ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=fe53dfb ] MARMOTTA-248 : applied the patch from Oliver Janner
            jakob Jakob Frank added a comment -

            3.2.0 is released

            jakob Jakob Frank added a comment - 3.2.0 is released

            People

              wikier Sergio Fernández
              wikier Sergio Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified