commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester Digester.java
Date Sat, 10 Aug 2002 09:45:54 GMT
rdonkin     2002/08/10 02:45:54

  Modified:    digester/src/java/org/apache/commons/digester Digester.java
  Log:
  Fixed schema language bug with path supplied by Jean-francois Arcand and improved schema
language implementation. Digester no longer creates logs [WARN]ings in normal operation with
parser that don't support the JAXP schema language property.
  
  Revision  Changes    Path
  1.62      +6 -10     jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java
  
  Index: Digester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- Digester.java	6 Aug 2002 15:29:26 -0000	1.61
  +++ Digester.java	10 Aug 2002 09:45:54 -0000	1.62
  @@ -681,12 +681,8 @@
   
           // Configure standard properties and return the new instance
           try {
  -            setProperty(JAXP_SCHEMA_LANGUAGE, schemaLanguage);
  -        } catch (Exception e) {
  -            log.warn("" + e);
  -        }
  -        try {
               if (schemaLocation != null) {
  +                setProperty(JAXP_SCHEMA_LANGUAGE, schemaLanguage);
                   setProperty(JAXP_SCHEMA_SOURCE, schemaLocation);
               }
           } catch (Exception e) {
  @@ -830,7 +826,7 @@
        */
       public void setSchemaLanguage(String schemaLanguage){
   
  -        schemaLanguage = schemaLanguage;
  +        this.schemaLanguage = schemaLanguage;
   
       }   
   
  
  
  

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


Mime
View raw message