db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scotsmat...@apache.org
Subject svn commit: r592523 - in /db/derby/docs/trunk/src: devguide/cdevin55108.dita devguide/derbydev.ditamap getstart/rgsquck30197.dita ref/refderby.ditamap tools/rtoolsijpropref97949.dita
Date Tue, 06 Nov 2007 18:59:13 GMT
Author: scotsmatrix
Date: Tue Nov  6 10:59:12 2007
New Revision: 592523

URL: http://svn.apache.org/viewvc?rev=592523&view=rev
Log:
Derby-2188: Updated the locale and territory errors in several manuals. This patch was submitted
by me.

Modified:
    db/derby/docs/trunk/src/devguide/cdevin55108.dita
    db/derby/docs/trunk/src/devguide/derbydev.ditamap
    db/derby/docs/trunk/src/getstart/rgsquck30197.dita
    db/derby/docs/trunk/src/ref/refderby.ditamap
    db/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita

Modified: db/derby/docs/trunk/src/devguide/cdevin55108.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevin55108.dita?rev=592523&r1=592522&r2=592523&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/cdevin55108.dita (original)
+++ db/derby/docs/trunk/src/devguide/cdevin55108.dita Tue Nov  6 10:59:12 2007
@@ -19,9 +19,9 @@
 limitations under the License.
 -->
 <concept id="cdevin55108" xml:lang="en-us">
-<title>Other components</title>
+<title>Other components with locale support</title>
 <shortdesc><ph conref="../conrefs.dita#prod/productshortname"></ph> also
provides
-locale support for the following components.</shortdesc>
+locale support for the following components:</shortdesc>
 <prolog><metadata>
 <keywords><indexterm>Error messages<indexterm>localized</indexterm></indexterm>
 </keywords>
@@ -41,12 +41,13 @@
 see the <cite><ph conref="../conrefs.dita#pub/citutilities"></ph></cite>.
</p></li>
 </ul>
 <p>Localized messages require special libraries.</p>
-<p>The locale of the error messages and of the tools is not determined by
-the database's localle set by the <i>locale=ll_CC</i> attribute when the database
-is created but instead by the default system locale. This means that it is
-possible to create a database with a non-default locale. In such a case, error
-messages would not be returned in the language of the database's locale but
-in the language of the default locale instead.</p>
+<p>The locale of the database is set by the <i>territory=ll_CC</i> attribute
+when the database is created. However, the locale of the error messages and
+tools is not determined by the locale of the database. The locale of the error
+messages and tools is determined by the default system locale. This means
+that it is possible to create a database with a non-default locale. In such
+a case, error messages are not returned in the language of the locale of the
+database but are returned in the language of the default locale instead.</p>
 <note>You can override the default locale for ij with a property on the JVM.
 For more information, see the <cite><ph conref="../conrefs.dita#pub/citutilities"></ph></cite>.</note>
 </conbody>

Modified: db/derby/docs/trunk/src/devguide/derbydev.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/derbydev.ditamap?rev=592523&r1=592522&r2=592523&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/derbydev.ditamap (original)
+++ db/derby/docs/trunk/src/devguide/derbydev.ditamap Tue Nov  6 10:59:12 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!--Arbortext, Inc., 1988-2006, v.4002-->
+
 <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
  "map.dtd">
 <!-- 

Modified: db/derby/docs/trunk/src/getstart/rgsquck30197.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/rgsquck30197.dita?rev=592523&r1=592522&r2=592523&view=diff
==============================================================================
--- db/derby/docs/trunk/src/getstart/rgsquck30197.dita (original)
+++ db/derby/docs/trunk/src/getstart/rgsquck30197.dita Tue Nov  6 10:59:12 2007
@@ -33,12 +33,12 @@
 <li><codeph><varname>databaseName</varname></codeph>   <p>The
name of the
 database that you want to connect to</p></li>
 <li><codeph><varname>URLAttributes</varname></codeph>   <p>One
or more of
-the supported attributes of the database connection URL, such as <codeph><varname>;locale=ll_CC</varname></codeph>
or <codeph><varname>;create=true</varname
+the supported attributes of the database connection URL, such as <codeph><varname>;territory=ll_CC</varname></codeph>
or <codeph><varname>;create=true</varname
 ></codeph>. </p><p>For more information, see the <cite><ph
conref="../conrefs.dita#pub/citdevelop"></ph></cite>.</p></li>
 </ul></p></section>
-<section><p>For the <ph conref="../conrefs.dita#prod/productshortname"></ph>-provided
-network client driver, the format for the database connection URL for connecting
-to a database is this:   <codeblock>jdbc:derby://<varname>server</varname>[:<varname>port</varname>]/<varname>databaseName</varname>[;<varname>URLAttributes</varname
+<section><p>For the network client driver that is provided by <ph conref="../conrefs.dita#prod/productshortname"></ph>,
+the format for the database connection URL for connecting to a database is
+this:   <codeblock>jdbc:derby://<varname>server</varname>[:<varname>port</varname>]/<varname>databaseName</varname>[;<varname>URLAttributes</varname
 >=<varname>value</varname>[;...]]</codeblock>where the <codeph><varname>server</varname></codeph>
and <codeph><varname>port</varname></codeph> specify
 the host name (or IP address) and port number where the server is listening
 for requests and <codeph><varname>databaseName</varname></codeph>
is the 

Modified: db/derby/docs/trunk/src/ref/refderby.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/refderby.ditamap?rev=592523&r1=592522&r2=592523&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/refderby.ditamap (original)
+++ db/derby/docs/trunk/src/ref/refderby.ditamap Tue Nov  6 10:59:12 2007
@@ -296,7 +296,7 @@
 </topicref>
 <topicref href="rrefsyscsruntimestatsfunc.dita" navtitle="SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS
system function">
 </topicref>
-<topicref href="rrefgetuseraccess.dita" navtitle="SYSCS_UTIL.SYSCS_GET_USER_ACCESS stored
procedure">
+<topicref href="rrefgetuseraccess.dita" navtitle="SYSCS_UTIL.SYSCS_GET_USER_ACCESS system
function">
 </topicref>
 </topicref>
 <topicref href="crefsqlbuiltinsystemprocedures.dita" navtitle="Built-in system procedures">

Modified: db/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita?rev=592523&r1=592522&r2=592523&view=diff
==============================================================================
--- db/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita (original)
+++ db/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita Tue Nov  6 10:59:12 2007
@@ -1,4 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
 <!-- 
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
@@ -15,86 +18,98 @@
 See the License for the specific language governing permissions and  
 limitations under the License.
 -->
-<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "../dtd/reference.dtd">
-<reference xml:lang="en-us" id="rtoolsijpropref97949">
+<reference id="rtoolsijpropref97949" xml:lang="en-us">
 <title>derby.ui.codeset property</title>
 <prolog><metadata>
-<keywords><indexterm>derby.ui.codeset (tool property)</indexterm><indexterm>Internationalization
features<indexterm>codeset</indexterm></indexterm>
-</keywords>
-</metadata>
-</prolog><refbody>
-<section><title>Function</title>
-<p>Set this property to a supported character encoding value when using one
-of the <ph conref="../conrefs.dita#prod/productshortname"></ph> tools with a
language not supported by your default system.</p>
-</section>
-<refsyn><title>Syntax</title>
-<codeblock><b>derby.ui.codeset=<b><i>derbyval</i></b></b></codeblock>
-<p>where <i>derbyval</i> is a supported character encoding
-value, for example, UTF8 (see <xref href="rtoolsijpropref97949.dita#rtoolsijpropref97949/rtoolsijpropref62163"/>).</p>
-</refsyn>
-<example><title>Example</title>
-<p>The following command line specifies to run <codeph>ij</codeph> using
the Japanese
-territory (<i>territory=ja_JP</i>) using Japanese Latin
-Kanji mixed encoding (<i>codeset=Cp939</i>): </p>
-<codeblock><b>java -Dderby.ui.territory=ja_JP -Dderby.ui.codeset=Cp939 
+<keywords><indexterm>derby.ui.codeset (tool property)</indexterm><indexterm>Internationalization
+features<indexterm>codeset</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><title>Function</title> <p>Set this property to a supported
character
+encoding value when using one of the <ph conref="../conrefs.dita#prod/productshortname"></ph>
tools
+with a language not supported by your default system.</p> </section>
+<refsyn><title>Syntax</title> <codeblock><b>derby.ui.codeset=<b><i>derbyval</i></b></b></codeblock>
<p>where <i>derbyval</i> is
+a supported character encoding value, for example, UTF8 (see <xref href="rtoolsijpropref97949.dita#rtoolsijpropref97949/rtoolsijpropref62163"></xref
+>).</p> </refsyn>
+<example><title>Example</title> <p>The following command specifies
to run <codeph>ij</codeph> using
+the Japanese territory (<i>derby.ui.locale=ja_JP</i>) using Japanese Latin
+Kanji mixed encoding (<i>codeset=Cp939</i>): </p><codeblock><b>java
-Dderby.ui.locale=ja_JP -Dderby.ui.codeset=Cp939 
     -Dij.protocol=jdbc:derby:
-    org.apache.derby.tools.ij</b></codeblock>
-<p>The following table contains a sampling of character encodings supported
-by the IBM Application Developer Kit. To see the full list, go to <i><xref scope="local"
format="html" href="http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html</xref></i>.
 
-<table id="rtoolsijpropref62163" pgwide="0" frame="all">
-<title>Sample Character Encodings</title>
-<tgroup cols="2" colsep="1" rowsep="1">
-<colspec colnum="1" colname="1" colwidth="36*"/>
-<colspec colnum="2" colname="2" colwidth="64*"/>
+    org.apache.derby.tools.ij</b></codeblock> <p>The following table contains
+a sampling of character encodings. Supported encodings vary from product to
+product.  For example, to see the full list of the character encodings that
+are supported by Java 2 Software Development Kit, Standard Edition, v. 1.4.2
+go to <xref format="html" href="http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html"
+scope="local">http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html</xref>.
+  <table frame="all" id="rtoolsijpropref62163" pgwide="0"><title>Sample Character
+Encodings</title>
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="1" colnum="1" colwidth="36*"/>
+<colspec colname="2" colnum="2" colwidth="64*"/>
 <thead>
 <row>
 <entry colname="1">Character Encoding</entry>
-<entry colname="2">Explanation</entry></row>
+<entry colname="2">Explanation</entry>
+</row>
 </thead>
 <tbody>
 <row>
 <entry colname="1">8859_1</entry>
-<entry colname="2">ISO Latin-1</entry></row>
+<entry colname="2">ISO Latin-1</entry>
+</row>
 <row>
 <entry colname="1">8859_2</entry>
-<entry colname="2">ISO Latin-2</entry></row>
+<entry colname="2">ISO Latin-2</entry>
+</row>
 <row>
 <entry colname="1">8859_7</entry>
-<entry colname="2">ISO Latin/Greek</entry></row>
+<entry colname="2">ISO Latin/Greek</entry>
+</row>
 <row>
 <entry colname="1">Cp1257</entry>
-<entry colname="2">Windows Baltic</entry></row>
+<entry colname="2">Windows Baltic</entry>
+</row>
 <row>
 <entry colname="1">Cp1258</entry>
-<entry colname="2">Windows Vietnamese</entry></row>
+<entry colname="2">Windows Vietnamese</entry>
+</row>
 <row>
 <entry colname="1">Cp437</entry>
-<entry colname="2">PC Original</entry></row>
+<entry colname="2">PC Original</entry>
+</row>
 <row>
 <entry colname="1">EUCJIS</entry>
-<entry colname="2">Japanese EUC</entry></row>
+<entry colname="2">Japanese EUC</entry>
+</row>
 <row>
 <entry colname="1">GB2312</entry>
-<entry colname="2">GB2312-80 Simplified Chinese</entry></row>
+<entry colname="2">GB2312-80 Simplified Chinese</entry>
+</row>
 <row>
 <entry colname="1">JIS</entry>
-<entry colname="2">JIS</entry></row>
+<entry colname="2">JIS</entry>
+</row>
 <row>
 <entry colname="1">KSC5601</entry>
-<entry colname="2">KSC5601 Korean</entry></row>
+<entry colname="2">KSC5601 Korean</entry>
+</row>
 <row>
 <entry colname="1">MacCroatian</entry>
-<entry colname="2">Macintosh Croatian</entry></row>
+<entry colname="2">Macintosh Croatian</entry>
+</row>
 <row>
 <entry colname="1">MacCyrillic</entry>
-<entry colname="2">Macintosh Cyrillic</entry></row>
+<entry colname="2">Macintosh Cyrillic</entry>
+</row>
 <row>
 <entry colname="1">SJIS</entry>
-<entry colname="2">PC and Windows Japanese</entry></row>
+<entry colname="2">PC and Windows Japanese</entry>
+</row>
 <row>
 <entry colname="1">UTF8</entry>
-<entry colname="2">Standard UTF-8</entry></row>
+<entry colname="2">Standard UTF-8</entry>
+</row>
 </tbody>
 </tgroup>
-</table></p>
-</example></refbody></reference>
+</table></p> </example>
+</refbody>
+</reference>



Mime
View raw message