elena       2003/07/25 11:57:23

  Modified:    java/src/org/apache/xerces/parsers DTDConfiguration.java
                        IntegratedParserConfiguration.java
  Log:
  Fixing reset problem -- after XML 1.1. was parsed sometimes we did not reset property
  dtd scanner and processor.
  
  Revision  Changes    Path
  1.15      +3 -1      
xml-xerces/java/src/org/apache/xerces/parsers/DTDConfiguration.java
  
  Index: DTDConfiguration.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DTDConfiguration.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DTDConfiguration.java     8 May 2003 20:11:58 -0000       1.14
  +++ DTDConfiguration.java     25 Jul 2003 18:57:23 -0000      1.15
  @@ -686,7 +686,9 @@
           
           // setup dtd pipeline
           if (fDTDScanner != null) {
  +            fProperties.put(DTD_SCANNER, fDTDScanner);          
               if (fDTDProcessor != null) {
  +                fProperties.put(DTD_PROCESSOR, fDTDProcessor);
                   fDTDScanner.setDTDHandler(fDTDProcessor);
                   fDTDProcessor.setDTDSource(fDTDScanner);
                   fDTDProcessor.setDTDHandler(fDTDHandler);
  
  
  
  1.12      +2 -1      
xml-xerces/java/src/org/apache/xerces/parsers/IntegratedParserConfiguration.java
  
  Index: IntegratedParserConfiguration.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/IntegratedParserConfiguration.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- IntegratedParserConfiguration.java        8 May 2003 20:11:58 -0000       1.11
  +++ IntegratedParserConfiguration.java        25 Jul 2003 18:57:23 -0000      1.12
  @@ -198,6 +198,7 @@
   
                // setup document pipeline
                if (fFeatures.get(NAMESPACES) == Boolean.TRUE) {
  +            fProperties.put(NAMESPACE_BINDER, fNamespaceBinder);
                        fScanner = fNamespaceScanner;
                        fProperties.put(DOCUMENT_SCANNER, fNamespaceScanner);
                        if (fDTDValidator != null) {
  
  
  

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

Reply via email to