Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94224 invoked from network); 31 Aug 2006 00:05:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 00:05:15 -0000 Received: (qmail 65487 invoked by uid 500); 31 Aug 2006 00:05:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65269 invoked by uid 500); 31 Aug 2006 00:05:14 -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 65260 invoked by uid 99); 31 Aug 2006 00:05:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 17:05:14 -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; Wed, 30 Aug 2006 17:05:13 -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 k7V04iOP014685 for ; Wed, 30 Aug 2006 17:04:44 -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 <0J4U00E015IUJL00@d1-sfbay-09.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Wed, 30 Aug 2006 17:04:44 -0700 (PDT) Received: from [129.144.89.112] by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J4U001TY5JV8PUG@d1-sfbay-09.sun.com> for derby-dev@db.apache.org; Wed, 30 Aug 2006 17:04:43 -0700 (PDT) Date: Wed, 30 Aug 2006 17:04:54 -0700 From: Rick Hillegas Subject: Re: DERBY-1566: "SQL error messages and exceptions" doc In-reply-to: <44F61E89.2000409@bristowhill.com> Sender: Richard.Hillegas@Sun.COM To: derby-dev@db.apache.org Message-id: <44F627A6.9010103@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <44F61E89.2000409@bristowhill.com> 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 Hi Jean and David, Thanks for all this great, painstaking work! Here's where I hope we can end up: A) David's tool is checked into the codeline. B) Just before building the docs, the release manager can run the tool in order to generate the latest and greatest version. So I have a question and a comment. The question is this: Has (A) happened? The comment follows your second question below. Thanks, -Rick Jean T. Anderson wrote: >A lot changed between 10.1.3 and 10.2.1.1. Six sqlstates dropped out, >170 were added, and the current doc file for the Reference Guide isn't >up to date. > >Adding all the sqlstates in manually would be an effort for which I >don't believe we have time and it would be error prone. This is where >David's app comes into play that generates a new doc based on info >retrieved with the org.apache.derby.diag.ErrorMessages() vti. > >Here's the current 10.1 doc: >http://db.apache.org/derby/docs/10.1/ref/rrefexcept71493.html > >Here's the 10.2 draft (uploaded to DERBY-1566): >https://issues.apache.org/jira/secure/attachment/12339910/rrefexcept-2.html > >I believe the 10.2 draft is a good candidate that accurately reflects >reality -- 849 entries made it into the new dita file, which matches the >number of rows returned by the vti query ... always a good sign. :-) > >But I'll point out two differences between the 10.1 and 10.2 docs: > >1) 10.2 severity column. I bet there's a story why that column didn't >make it into 10.1, but I sure don't remember. Anyone should feel free to >provide that info. If people don't like it for whatever reason, I can >easily remove it. > >2) The 10.1 doc replaces the variable markers, such as {0}, with human >readable tags, such as . >I don't intend to replace those {n} tags with human readable names. If >anyone would like to offer to do so, feel free. > > I think that those substitutions make for better documentation but I don't see how we can teach David's tool to perform those substitutions--certainly not in the short run. In my opinion, more value is added by David's automated process for generating an accurate, up-to-date list of SQLStates. So I am happy with your solution: don't substitute the variable markers. >Feedback? Opinions? Preferences? > >thanks, > > -jean > > >