abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Isaacson (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-9) IRI.toASCIIString() does not support LSIDs
Date Tue, 03 Oct 2006 15:26:19 GMT
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
            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