db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Van Couvering <David.Vancouver...@Sun.COM>
Subject Re: [jira] Updated: (DERBY-1566) Document SQLStates in 10.2
Date Tue, 29 Aug 2006 16:00:14 GMT
Guess you gave up on me Jean :)  This was something I was going to work 
on this week.  We should figure out how we want to collaborate.  I do 
have to admit I am majorly swamped with some other projects right now, 
so if you have the time and inclination...

Anyway, let me know if you need assistance, this was something I had 
committed to getting done.

Also, I am thinking this should be checked in somewhere (I was thinking 
in the derbyBuild directory), compiled as part of the build, and run by 
the release manager at appropriate points in time.  Unless you have 
thoughts about how to automate this.  The problem is it is Java source 
code generating DITA files, so it semantically crosses two independent 
svn repositories...


Jean T. Anderson (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ]
> Jean T. Anderson updated DERBY-1566:
> ------------------------------------
>     Attachment: ErrorMessageGenerator.java
>                 rrefexcept71493.html
> ErrorMessageGenerator.java is a copy of DERBY-296's app modified as follows:
> 1) Replaced the "-//IBM//DTD DITA Reference//EN" with ""-//OASIS//DTD DITA Reference//EN"
> 2) Some tags needed a space .  For example, the 'xml' in this tag:
> <reference id="rrefexcept13113"xml:lang="en-us">
> needed a space before the 'xml' so xml parsing would succeed:
> <reference id="rrefexcept13113" xml:lang="en-us">
> 3) Needed some close tags for DITA processing to succeed.
> Running it outputs two errors:
> $ java ErrorMessageGenerator
> Unable to determine code for SQL State 0A000
> Unable to determine code for SQL State 39004
> The DITA source that it generates needs one manual change. The message for 42Y04 has
'<' and '>' in the message.
> Change this: <full java path>.<method name>
> To this:     &lt;full java path&gt;.&lt;method name&gt;
> rrefexcept71493.html shows sample output.
>> 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:
>>            Reporter: Rick Hillegas
>>         Assigned To: David Van Couvering
>>             Fix For:
>>         Attachments: ErrorMessageGenerator.java, 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.

View raw message