Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 7435 invoked from network); 31 Aug 2006 15:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 15:51:36 -0000 Received: (qmail 26167 invoked by uid 500); 31 Aug 2006 15:51:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 25953 invoked by uid 500); 31 Aug 2006 15:51:35 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 25941 invoked by uid 99); 31 Aug 2006 15:51:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:51:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:51:34 -0700 Received: from d1-sfbay-09.sun.com ([192.18.39.119]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k7VFp9u3016561 for ; Thu, 31 Aug 2006 08:51:13 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-09.sun.com by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J4V00F01D8JDS00@d1-sfbay-09.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Thu, 31 Aug 2006 08:51:09 -0700 (PDT) Received: from [129.150.23.101] by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J4V001R0DD98QRG@d1-sfbay-09.sun.com> for derby-dev@db.apache.org; Thu, 31 Aug 2006 08:51:09 -0700 (PDT) Date: Thu, 31 Aug 2006 08:51:09 -0700 From: Rick Hillegas Subject: Re: [jira] Updated: (DERBY-1566) Document SQLStates in 10.2 In-reply-to: <17340299.1157025384780.JavaMail.jira@brutus> Sender: Richard.Hillegas@Sun.COM To: derby-dev@db.apache.org Message-id: <44F7056D.30501@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <17340299.1157025384780.JavaMail.jira@brutus> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, John! John H. Embretsen (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ] > >John H. Embretsen updated DERBY-1566: >------------------------------------- > > Attachment: ErrorMessageGenerator_davidv3_john.diff > >I was not able to find a utility method for creating HTML-friendly Strings in Java, but I made a simple one myself and added it to ErrorMessageGenerator.david.java after applying '...diffs3'. My diff is attached as 'ErrorMessageGenerator_davidv3_john.diff'. The method replaces "<" with "<" and ">" with ">" (other replacements must be added if needed). The utility method is used in the method generateMessages(), for error messages only. The output looks ok to my eyes. > >I hope this helps reducing the manual labor required to build the specific manual page in the future. > > > > >>Document SQLStates in 10.2 >>-------------------------- >> >> Key: DERBY-1566 >> URL: http://issues.apache.org/jira/browse/DERBY-1566 >> Project: Derby >> Issue Type: Improvement >> Components: Documentation >> Affects Versions: 10.2.1.0 >> Reporter: Rick Hillegas >> Assigned To: David Van Couvering >> Fix For: 10.2.1.0 >> >> Attachments: derby-1566-1.diff, derby-1566-2.diff, derby-1566-3.diff, ErrorMessageGenerator.david.diffs, ErrorMessageGenerator.david.diffs2, ErrorMessageGenerator.david.diffs3, ErrorMessageGenerator.david.java, ErrorMessageGenerator.java, ErrorMessageGenerator_davidv3_john.diff, newmsgs-10.2.txt, rrefexcept-2.html, rrefexcept-3.html, rrefexcept71493.html >> >> >>We need to update the Reference Guide to document the current list of SQLStates. This list goes into >>Reference Guide >> Derby exception messages and SQL states >> SQLState and error message reference >>The tool mentioned in DERBY-296 may be useful. >> >> > > >