abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ABDERA-9) IRI.toASCIIString() does not support LSIDs
Date Tue, 03 Oct 2006 18:25:21 GMT
    [ http://issues.apache.org/jira/browse/ABDERA-9?page=comments#action_12439613 ] 
            
James M Snell commented on ABDERA-9:
------------------------------------

Ok, I just checked in a fix.  It's largely just a patch up to ensure this case can work. 
At some point in the very near future we'll need to go through the IRI parsing code to sure
that it works with as broad a range of IRI/URI schemes as possible.  Please verify the fix
and I'll mark this Resolved.

> IRI.toASCIIString() does not support LSIDs
> ------------------------------------------
>
>                 Key: ABDERA-9
>                 URL: http://issues.apache.org/jira/browse/ABDERA-9
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Steven Isaacson
>         Assigned To: James M Snell
>            Priority: Minor
>
> Example:
>       entry.setId("urn:lsid:ibm.com:example:82437234964354895798234d");
>       System.out.println("output: "+entry.getId().toASCIIString());
>       URI uri = new URI("urn:lsid:ibm.com:example:82437234964354895798234d");
>       System.out.println("expected: "+uri.toASCIIString());
> Result:
> output: urn:lsid/
> expected: urn:lsid:ibm.com:example:82437234964354895798234d
> As a workaround I am using the IRI.toString() method which returns the expected value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message