incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Seaborne (Commented) (JIRA)" <>
Subject [jira] [Commented] (JENA-148) xsd:anyURI is sameValueAs an xsd:string or simple literal
Date Wed, 02 Nov 2011 09:05:32 GMT


Andy Seaborne commented on JENA-148:

Done, thanks.

> xsd:anyURI is sameValueAs an xsd:string or simple literal
> ---------------------------------------------------------
>                 Key: JENA-148
>                 URL:
>             Project: Jena
>          Issue Type: Bug
>          Components: Jena
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>              Labels: datatypes
>         Attachments: Jena_AnyURI_r1190400-v2.patch, Jena_AnyURI_r1190400.patch, jena-148_regression.patch
> In the memory model xsd:anyURI matches in Graph.find an xsd;string with the same lexical
> "http://example/"^^xsd:anyURI matches "http://example/"^^xsd:string and "http://example/"
> This is because the value returned by Xerces is a Java string and isEqual in XSDDatatype
is based on equality of Xerces value regerdless of datatype to account for derived types.
> The proposed solution in the patch is to have a new XSD datatype that uses the BaseDatatype
isEquals machinery which makes equity "same datatype, same value".
> Also applies to xsd:QName, xsd:IDREF, xsd:NOTATION

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message