[hibernate-commits] Hibernate SVN: r12943 - in core/trunk/documentation/manual: es-ES/src/main/docbook/modules and 5 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Aug 14 23:31:18 EDT 2007


Author: d.plentz
Date: 2007-08-14 23:31:18 -0400 (Tue, 14 Aug 2007)
New Revision: 12943

Modified:
   core/trunk/documentation/manual/en-US/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/es-ES/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/xml.xml
   core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/xml.xml
Log:
[HHH-1920] Incorrect documentation regarding XML manipulation in Hibernate reference manual (chapter 18.3)

Modified: core/trunk/documentation/manual/en-US/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/en-US/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/en-US/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -252,7 +252,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/es-ES/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/es-ES/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/es-ES/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -248,7 +248,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/fr-FR/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -257,7 +257,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/ja-JP/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -264,7 +264,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/ko-KR/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -239,7 +239,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/pt-BR/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -255,7 +255,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();

Modified: core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/xml.xml
===================================================================
--- core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/xml.xml	2007-08-15 02:51:52 UTC (rev 12942)
+++ core/trunk/documentation/manual/zh-CN/src/main/docbook/modules/xml.xml	2007-08-15 03:31:18 UTC (rev 12943)
@@ -238,7 +238,7 @@
 for ( int i=0; i<results.size(); i++ ) {
     //add the customer data to the XML document
     Element customer = (Element) results.get(i);
-    doc.add(customer);
+    doc.getRootElement().add(customer);
 }
 
 tx.commit();




More information about the hibernate-commits mailing list