You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2001/08/15 07:54:37 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom CoreDocumentImpl.java

andyc       01/08/14 22:54:37

  Modified:    java/src/org/apache/xerces/dom Tag: xerces_j_2
                        CoreDocumentImpl.java
  Log:
  Bug fix to use new XMLChar util class instead of XMLCharacterProperties.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +2 -10     xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java
  
  Index: CoreDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- CoreDocumentImpl.java	2001/08/15 05:51:16	1.1.2.1
  +++ CoreDocumentImpl.java	2001/08/15 05:54:37	1.1.2.2
  @@ -82,7 +82,7 @@
   import org.w3c.dom.events.EventListener;
   import org.w3c.dom.events.EventTarget;
   
  -import org.apache.xerces.utils.XMLCharacterProperties;
  +import org.apache.xerces.util.XMLChar;
   
   
   /**
  @@ -237,8 +237,6 @@
        */
       public CoreDocumentImpl() {
           this(false);
  -        // make sure the XMLCharacterProperties class is initilialized
  -        XMLCharacterProperties.initCharFlags();
       }
   
       /** Constructor. */
  @@ -246,8 +244,6 @@
           super(null);
           ownerDocument = this;
           allowGrammarAccess = grammarAccess;
  -        // make sure the XMLCharacterProperties class is initilialized
  -        XMLCharacterProperties.initCharFlags();
       }
   
       /**
  @@ -257,8 +253,6 @@
       public CoreDocumentImpl(DocumentType doctype)
       {
           this(doctype, false);
  -        // make sure the XMLCharacterProperties class is initilialized
  -        XMLCharacterProperties.initCharFlags();
       }
   
       /** For DOM2 support. */
  @@ -275,8 +269,6 @@
               doctypeImpl.ownerDocument = this;
               appendChild(doctype);
           }
  -        // make sure the XMLCharacterProperties class is initilialized
  -        XMLCharacterProperties.initCharFlags();
       }
   
       //
  @@ -1411,7 +1403,7 @@
           if (s == null) {
               return false;
           }
  -        return XMLCharacterProperties.validName(s);
  +        return XMLChar.isValidName(s);
   
       } // isXMLName(String):boolean
   
  
  
  

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