You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "James M Snell (JIRA)" <ji...@apache.org> on 2006/10/03 20:25:21 UTC

[jira] Commented: (ABDERA-9) IRI.toASCIIString() does not support LSIDs

    [ 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