elena       2003/11/06 11:37:10

  Modified:    java/src/org/apache/xerces/parsers
                        BasicParserConfiguration.java
  Log:
  During addition of recognized properties/features from the component we should only 
add
  these the main vectors and not try to propagate to all components.
  
  Revision  Changes    Path
  1.17      +3 -3      
xml-xerces/java/src/org/apache/xerces/parsers/BasicParserConfiguration.java
  
  Index: BasicParserConfiguration.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/BasicParserConfiguration.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- BasicParserConfiguration.java     8 May 2003 20:11:58 -0000       1.16
  +++ BasicParserConfiguration.java     6 Nov 2003 19:37:10 -0000       1.17
  @@ -307,7 +307,7 @@
                   String featureId = recognizedFeatures[i];
                   Boolean state = component.getFeatureDefault(featureId);
                   if (state != null) {
  -                    setFeature(featureId, state.booleanValue());
  +                    super.setFeature(featureId, state.booleanValue());
                   }
               }
           }
  @@ -316,7 +316,7 @@
                   String propertyId = recognizedProperties[i];
                   Object value = component.getPropertyDefault(propertyId);
                   if (value != null) {
  -                    setProperty(propertyId, value);
  +                    super.setProperty(propertyId, value);
                   }
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to