db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/xdocs changes.xml
Date Sun, 29 Jun 2003 13:40:23 GMT
mpoeschl    2003/06/29 06:40:23

  Modified:    src/generator/src/java/org/apache/torque/engine/database/model
                        AppData.java
               xdocs    changes.xml
  Log:
  TRQS101: Sql2Xml task should generate a dtd compliant xml
  
  Revision  Changes    Path
  1.3       +6 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/model/AppData.java
  
  Index: AppData.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/AppData.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AppData.java	26 Jun 2003 06:59:56 -0000	1.2
  +++ AppData.java	29 Jun 2003 13:40:22 -0000	1.3
  @@ -69,6 +69,7 @@
   import org.apache.commons.logging.LogFactory;
   
   import org.apache.torque.engine.EngineException;
  +import org.apache.torque.engine.database.transform.DTDResolver;
   
   import org.xml.sax.Attributes;
   
  @@ -333,12 +334,14 @@
       {
           StringBuffer result = new StringBuffer();
   
  -        result.append ("<app-data>\n");
  +        result.append ("<?xml version=\"1.0\"?>\n");
  +        result.append ("<!DOCTYPE database SYSTEM \""
  +                + DTDResolver.WEB_SITE_DTD + "\">\n");
  +        result.append("<!-- Autogenerated by SQLToXMLSchema! -->\n");
           for (Iterator i = dbList.iterator(); i.hasNext();)
           {
               result.append (i.next());
           }
  -        result.append ("</app-data>");
           return result.toString();
       }
   }
  
  
  
  1.91      +4 -1      db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- changes.xml	29 Jun 2003 13:22:55 -0000	1.90
  +++ changes.xml	29 Jun 2003 13:40:23 -0000	1.91
  @@ -53,7 +53,10 @@
     <ul>
       <li>
         TRQS20: mysql: "on delete cascade" not generated 
  -    </li>  
  +    </li>
  +    <li>
  +      TRQS101: Sql2Xml task should generate a dtd compliant xml
  +    </li>
       <li>
         TRQS121: native limit and offset breaks on postgresql 7.3
       </li>
  
  
  

Mime
View raw message