You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/01/03 20:50:08 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/parsers StandardParserConfiguration.java

sandygao    02/01/03 11:50:08

  Modified:    java/src/org/apache/xerces/parsers
                        StandardParserConfiguration.java
  Log:
  Properties "external-schemaLocation" and "external-noNamespaceSchemaLocation"
  were not recognized by the standard configuration.
  Now it's fixed. Thanks to Gopal's patch.
  
  Revision  Changes    Path
  1.11      +7 -1      xml-xerces/java/src/org/apache/xerces/parsers/StandardParserConfiguration.java
  
  Index: StandardParserConfiguration.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/StandardParserConfiguration.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- StandardParserConfiguration.java	14 Dec 2001 20:50:21 -0000	1.10
  +++ StandardParserConfiguration.java	3 Jan 2002 19:50:08 -0000	1.11
  @@ -121,7 +121,7 @@
    * @author Arnaud  Le Hors, IBM
    * @author Andy Clark, IBM
    *
  - * @version $Id: StandardParserConfiguration.java,v 1.10 2001/12/14 20:50:21 lmartin Exp $
  + * @version $Id: StandardParserConfiguration.java,v 1.11 2002/01/03 19:50:08 sandygao Exp $
    */
   public class StandardParserConfiguration
       extends BasicParserConfiguration 
  @@ -773,6 +773,12 @@
           if (propertyId.startsWith(Constants.XERCES_PROPERTY_PREFIX)) {
               String property = propertyId.substring(Constants.XERCES_PROPERTY_PREFIX.length());
               if (property.equals(Constants.DTD_SCANNER_PROPERTY)) {
  +                return;
  +            }
  +            if (property.equals(Constants.SCHEMA_LOCATION)) {
  +                return;
  +            }
  +            if (property.equals(Constants.SCHEMA_NONS_LOCATION)) {
                   return;
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org