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

Andy Seaborne updated JENA-730:
-------------------------------

    Description: 
{{http://www.abc%F1def.com/}} is an bad URI - %-encoding does not apply to host 
names.

RIOT passes this with warnings but the SPARQL parser catches any IRI violation 
and treats it as an error.  Consistent behaviour would for SPARQL to warn as 
well.

(U+00F1 is ñ "latin small letter n with tilde")

NB It is not the core issue but RIOT uses the new IRIResolver and SPARQL uses 
the old IRIResolver.

  was:
{{http://www.abc%F1def.com/}} is an bad URI - %-encoding does not apply to host 
names.

RIOT passes this with warnings but the SPARQL parser treats it as an error.  
Consistent behaviour would for SPARQL to warn as well.

RIOT uses the new IRIResolver.
SPARQL uses the old IRIResolver.

(U+00F1 is ñ "latin small letter n with tilde")


> Inconsistent treatment of bad IRIs between RIOT and SPARQL
> ----------------------------------------------------------
>
>                 Key: JENA-730
>                 URL: https://issues.apache.org/jira/browse/JENA-730
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ, RIOT
>    Affects Versions: Jena 2.11.2
>            Reporter: Andy Seaborne
>
> {{http://www.abc%F1def.com/}} is an bad URI - %-encoding does not apply to 
> host names.
> RIOT passes this with warnings but the SPARQL parser catches any IRI 
> violation and treats it as an error.  Consistent behaviour would for SPARQL 
> to warn as well.
> (U+00F1 is ñ "latin small letter n with tilde")
> NB It is not the core issue but RIOT uses the new IRIResolver and SPARQL uses 
> the old IRIResolver.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to