User: dsundstrom
  Date: 02/01/31 17:40:52

  Modified:    src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata
                        JDBCXmlFileLoader.java
  Log:
  Chaged to always use a validating xml parser.
  
  Revision  Changes    Path
  1.8       +3 -3      
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata/JDBCXmlFileLoader.java
  
  Index: JDBCXmlFileLoader.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata/JDBCXmlFileLoader.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- JDBCXmlFileLoader.java    2002/01/05 12:08:51     1.7
  +++ JDBCXmlFileLoader.java    2002/02/01 01:40:51     1.8
  @@ -19,7 +19,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Dain Sundstrom</a>
    *   @author <a href="[EMAIL PROTECTED]">Sebastien Alborini</a>
  - *   @version $Revision: 1.7 $
  + *   @version $Revision: 1.8 $
    */
   public final class JDBCXmlFileLoader {
      private final ApplicationMetaData application;
  @@ -61,7 +61,7 @@
         boolean debug = log.isDebugEnabled();
         if (debug)
            log.debug("Loading standardjbosscmp-jdbc.xml : " + stdJDBCUrl.toString());
  -      Element stdJDBCElement = 
XmlFileLoader.getDocument(stdJDBCUrl).getDocumentElement();
  +      Element stdJDBCElement = XmlFileLoader.getDocument(stdJDBCUrl, 
true).getDocumentElement();
   
         // first create the metadata
         jamd = new JDBCApplicationMetaData(stdJDBCElement, jamd);
  @@ -71,7 +71,7 @@
         if(jdbcUrl != null) {
            if (debug)
               log.debug(jdbcUrl.toString() + " found. Overriding defaults");
  -         Element jdbcElement = 
XmlFileLoader.getDocument(jdbcUrl).getDocumentElement();
  +         Element jdbcElement = XmlFileLoader.getDocument(jdbcUrl, 
true).getDocumentElement();
            jamd = new JDBCApplicationMetaData(jdbcElement, jamd);
         }
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to