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

Sergio Fernández updated STANBOL-1057:
--------------------------------------

    Component/s: Commons
         Labels: prefix  (was: )
    Description: 
Checking my logs I realized this errors:

09:12:54.806 INFO  - Load Namespace Prefix Mappings form 
http://prefix.cc/popular/all.file.txt
09:12:55.187 WARN  - Invalid Namespace Mapping: prefix 'biocore' valid , 
namespace 'http://bio2rdf.org/core:' invalid -> mapping ignored!

Basically the validation fails because those namespace are neither hash nor 
slash uris.

If would like to change the behavior just appending the hash on those 
situations, I could submit a patch based on what we are doing in Marmotta, 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/services/prefix/PrefixServiceImpl.java;h=ac136fef38940feb60b1bb624e55278d7e162970;hb=HEAD#l141
 

  was:

09:12:54.806 INFO  - Load Namespace Prefix Mappings form 
http://prefix.cc/popular/all.file.txt
09:12:55.187 WARN  - Invalid Namespace Mapping: prefix 'biocore' valid , 
namespace 'http://bio2rdf.org/core:' invalid -> mapping ignored!


If would like to change the behavior, 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/services/prefix/PrefixServiceImpl.java;h=ac136fef38940feb60b1bb624e55278d7e162970;hb=HEAD#l141
 

        Summary: Invalid Namespace Mappings from popular prefixes at prefix.cc  
(was:  Invalid Namespace Mapping)
    
> Invalid Namespace Mappings from popular prefixes at prefix.cc
> -------------------------------------------------------------
>
>                 Key: STANBOL-1057
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1057
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Commons
>            Reporter: Sergio Fernández
>            Priority: Trivial
>              Labels: prefix
>
> Checking my logs I realized this errors:
> 09:12:54.806 INFO  - Load Namespace Prefix Mappings form 
> http://prefix.cc/popular/all.file.txt
> 09:12:55.187 WARN  - Invalid Namespace Mapping: prefix 'biocore' valid , 
> namespace 'http://bio2rdf.org/core:' invalid -> mapping ignored!
> Basically the validation fails because those namespace are neither hash nor 
> slash uris.
> If would like to change the behavior just appending the hash on those 
> situations, I could submit a patch based on what we are doing in Marmotta, 
> 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/services/prefix/PrefixServiceImpl.java;h=ac136fef38940feb60b1bb624e55278d7e162970;hb=HEAD#l141
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to