From 21953e21dfabed739b8a74c8cea024fca233751c Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Tue, 15 May 2018 18:23:59 +0200
Subject: [PATCH] Minor corrections

---
 Doc/Sd1/objectsClasses.xml |  4 ++--
 Doc/Sda1/jdbc.xml          | 11 +++++++----
 Doc/Sda1/xmlschema.xml     |  6 ++++++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/Doc/Sd1/objectsClasses.xml b/Doc/Sd1/objectsClasses.xml
index fa5faef49..c724ce0e7 100644
--- a/Doc/Sd1/objectsClasses.xml
+++ b/Doc/Sd1/objectsClasses.xml
@@ -8770,7 +8770,7 @@ After printDuplicateValue: </screen></td>
 
         <tr>
           <td valign="top"><programlisting language="java">public static void main(String[] args) {
-  StringBuffer buffer = new StringBuffer("My");
+  StringBuffer buffer = new StringBuffer("My");      
   System.out.println("Before duplicateString: "
     + buffer);       
   duplicateString(buffer);
@@ -9052,7 +9052,7 @@ After printDuplicateValue: <emphasis role="red">6</emphasis></screen></td>
               </listitem>
 
               <listitem>
-                <para>Hosting method bound variables.</para>
+                <para>Hosts method bound variables.</para>
               </listitem>
             </itemizedlist>
           </glossdef>
diff --git a/Doc/Sda1/jdbc.xml b/Doc/Sda1/jdbc.xml
index be74c9429..214e3ed8f 100644
--- a/Doc/Sda1/jdbc.xml
+++ b/Doc/Sda1/jdbc.xml
@@ -1018,7 +1018,7 @@ goik@goiki Minimum&gt; java -jar /.../Jdbc/Insert/Minimum/target/insert_user-0.1
 
         <glosslist>
           <glossentry>
-            <glossterm>ResourceBundle</glossterm>
+            <glossterm>ResourceBundle reading properties</glossterm>
 
             <glossdef>
               <programlisting language="none">// resources/<emphasis
@@ -1028,7 +1028,7 @@ ResourceBundle jdbcProperties = ResourceBundle.getBundle("<emphasis role="red">j
           </glossentry>
 
           <glossentry>
-            <glossterm>ResourceBundle</glossterm>
+            <glossterm>Using ResourceBundle</glossterm>
 
             <glossdef>
               <programlisting language="none">... Connection conn = DriverManager.getConnection(
@@ -1091,15 +1091,18 @@ ResourceBundle jdbcProperties = ResourceBundle.getBundle("<emphasis role="red">j
       <figure xml:id="sda1_jdbc_fig_dbUnitTestImplement">
         <title>Implementing unit tests</title>
 
-        <programlisting language="none">public class InsertTest {
+        <programlisting language="none"><link
+            xlink:href="https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/blob/master/P/Sda1/Jdbc/Insert/MinimumTest/src/test/java/de/hdm_stuttgart/sda1/insert/InsertTest.java">public class InsertTest</link> {
   static private Connection conn;
+  static private Statement stmt;
 
   @BeforeClass <co linkends="sda1_jdbc_fig_dbUnitTestImplement-1"
             xml:id="sda1_jdbc_fig_dbUnitTestImplement-1-co"/> static public void initDatabase() throws SQLException {
     conn = DriverManager.getConnection(
       SimpleInsert.jdbcProperties.getString("jdbcurl"),
       SimpleInsert.jdbcProperties.getString("username"),...);
-    <emphasis role="red">ScriptUtils.executeSqlScript(conn, new ClassPathResource("schema.sql"));</emphasis>}     
+    <emphasis role="red">ScriptUtils.executeSqlScript(conn, new ClassPathResource("schema.sql"));</emphasis>
+    stmt = conn.createStatement();}     
 
   @Test <co linkends="sda1_jdbc_fig_dbUnitTestImplement-2"
             xml:id="sda1_jdbc_fig_dbUnitTestImplement-2-co"/>
diff --git a/Doc/Sda1/xmlschema.xml b/Doc/Sda1/xmlschema.xml
index 281225320..a5c8a3020 100644
--- a/Doc/Sda1/xmlschema.xml
+++ b/Doc/Sda1/xmlschema.xml
@@ -2719,6 +2719,12 @@ key "primaryKey". --&gt;</emphasis>
                 </callout>
               </calloutlist>
             </question>
+
+            <answer>
+              <para>See <link
+              xlink:href="https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/blob/master/Doc/Sda1/Ref/Memo/V70_final/memo.xsd"><xref
+              linkend="glo_XSD"/> file</link>.</para>
+            </answer>
           </qandaentry>
         </qandadiv>
       </qandaset>
-- 
GitLab