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