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

Prefixes with some special character are not registered

    XMLWordPrintableJSON

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

            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