dlr         2002/11/15 10:07:12

  Modified:    src/java/org/apache/torque/engine/database/model Table.java
  Log:
  * toString(): Corrected XML generation bug reported by
    [EMAIL PROTECTED]:
  
    "When generating an XML schema from a SQL Schema, the output xml
    contains a javaname attribute (notice the lowercase "n" in javaname)
  
    The database.dtd defines this attribute as javaName (with a capital
    'N') and therefore the XML is not valid.  Please change the code in
    the org.apache.torque.engine.database.model.Table toString() method to
    output "javaName" instead of javaname, making the output XML valid."
  
  Revision  Changes    Path
  1.34      +2 -2      
jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/Table.java
  
  Index: Table.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/Table.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -u -r1.33 -r1.34
  --- Table.java        15 Sep 2002 03:16:56 -0000      1.33
  +++ Table.java        15 Nov 2002 18:07:11 -0000      1.34
  @@ -1010,7 +1010,7 @@
   
           if (javaName != null)
           {
  -            result.append(" javaname=\"")
  +            result.append(" javaName=\"")
                     .append(javaName)
                     .append('\"');
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>

Reply via email to