xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwi...@apache.org
Subject cvs commit: xml-xerces/java/src/org/apache/xerces/jaxp DocumentBuilderImpl.java
Date Tue, 13 Feb 2001 02:55:26 GMT
edwingo     01/02/12 18:55:26

  Modified:    java/src/org/apache/xerces/jaxp Tag: xerces_j_2
                        DocumentBuilderImpl.java
  Log:
  Fixed "namespaceAware" attribute
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.4   +7 -2      xml-xerces/java/src/org/apache/xerces/jaxp/DocumentBuilderImpl.java
  
  Index: DocumentBuilderImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/jaxp/DocumentBuilderImpl.java,v
  retrieving revision 1.1.4.3
  retrieving revision 1.1.4.4
  diff -u -r1.1.4.3 -r1.1.4.4
  --- DocumentBuilderImpl.java	2001/02/07 01:35:00	1.1.4.3
  +++ DocumentBuilderImpl.java	2001/02/13 02:55:25	1.1.4.4
  @@ -1,5 +1,5 @@
   /*
  - * $Id: DocumentBuilderImpl.java,v 1.1.4.3 2001/02/07 01:35:00 edwingo Exp $
  + * $Id: DocumentBuilderImpl.java,v 1.1.4.4 2001/02/13 02:55:25 edwingo Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -82,7 +82,7 @@
   /**
    * @author Rajiv Mordani
    * @author Edwin Goei
  - * @version $Revision: 1.1.4.3 $
  + * @version $Revision: 1.1.4.4 $
    */
   public class DocumentBuilderImpl extends DocumentBuilder {
       /** Xerces features */
  @@ -121,6 +121,11 @@
               if (validating) {
                   setErrorHandler(new DefaultValidationErrorHandler());
               }
  +
  +            // "namespaceAware" ==  SAX Namespaces feature
  +            namespaceAware = dbf.isNamespaceAware();
  +            domParser.setFeature("http://xml.org/sax/features/namespaces",
  +                                 namespaceAware);
   
               // XXX Ignore unimplemented features for now
               try {
  
  
  

Mime
View raw message