Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 97621 invoked from network); 3 Oct 2006 18:25:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 18:25:34 -0000 Received: (qmail 59647 invoked by uid 500); 3 Oct 2006 18:25:33 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 59592 invoked by uid 500); 3 Oct 2006 18:25:33 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 59555 invoked by uid 99); 3 Oct 2006 18:25:32 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 11:25:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:36056] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id DD/D7-08153-A1BA2254 for ; Tue, 03 Oct 2006 11:25:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A181714312 for ; Tue, 3 Oct 2006 11:25:21 -0700 (PDT) Message-ID: <23268732.1159899921300.JavaMail.root@brutus> Date: Tue, 3 Oct 2006 11:25:21 -0700 (PDT) From: "James M Snell (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Commented: (ABDERA-9) IRI.toASCIIString() does not support LSIDs In-Reply-To: <24629471.1159889179546.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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