Rupert Westenthaler created STANBOL-1275:
--------------------------------------------

             Summary: IOB Exception in URI prefix mappings for 
EntityDereferencing Engine 
                 Key: STANBOL-1275
                 URL: https://issues.apache.org/jira/browse/STANBOL-1275
             Project: Stanbol
          Issue Type: Bug
          Components: Enhancement Engines
    Affects Versions: 0.12.0
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler


The URI prefix mappings of the Dereferencing Engine may cause 
IndexOutOfBoundExceptions if the reuqested URI is String.compare(..) smaller as 
any of the configured prefixes.

Workaround:

* users may configure a prefix that is smaller as any requested URI (e.g. '0')
* users can use a regex pattern instead of prefixes ( '^{prefix}.*')





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to