[
https://issues.apache.org/jira/browse/JENA-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388354#comment-14388354
]
Andy Seaborne edited comment on JENA-906 at 3/31/15 10:43 AM:
--------------------------------------------------------------
{{getNameSpace}}/{{getLocalName}} works for all RDF syntaxes so it has to be
conservative.
{{b%C3%BCrgermeister}} is not a legal local part in RDF/XML.
Historically, there was only RDF/XML.
A change to this could happen but it is an application visable change so needs
to be managed carefully.
was (Author: andy.seaborne):
{{getNameSpace}}/{{getLocalName}} works for all RDF syntaxes so it has to be
conservative.
{{b%C3%BCrgermeister}} is not a legal local part in RDF/XML.
Historically, there was only RDF/XML.
A change to this could happen but it is an application visable change so needs
to be managed carefully.
See also JENA-862.
> namespace detection of URI fails
> --------------------------------
>
> Key: JENA-906
> URL: https://issues.apache.org/jira/browse/JENA-906
> Project: Apache Jena
> Issue Type: Bug
> Components: Jena
> Affects Versions: Jena 2.12.0
> Environment: java version "1.8.0_40"
> Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
> Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
> Reporter: Lorenz Bühmann
> Priority: Minor
>
> For resources with URIs like
> http://dbpedia.org/property/b%C3%BCrgermeister JENA is not able to return the
> correct namespace http://dbpedia.org/property/, but instead returns the whole
> URI when I call Property::getNameSpace() .
> Not sure if it's really a bug and if it's even possible to detect namespace
> for such weird looking URIs by regex.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)