You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2001/04/18 19:26:55 UTC

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

elena       01/04/18 10:26:55

  Modified:    java/src/org/apache/xerces/dom DeferredDocumentTypeImpl.java
  Log:
  set entities and notations read_only (DOM L2)
  
  Revision  Changes    Path
  1.10      +4 -1      xml-xerces/java/src/org/apache/xerces/dom/DeferredDocumentTypeImpl.java
  
  Index: DeferredDocumentTypeImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/DeferredDocumentTypeImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DeferredDocumentTypeImpl.java	2000/08/18 01:58:34	1.9
  +++ DeferredDocumentTypeImpl.java	2001/04/18 17:26:52	1.10
  @@ -151,7 +151,7 @@
   
       /** Synchronizes the entities, notations, and elements. */
       protected void synchronizeChildren() {
  -
  +        
           // we don't want to generate any event for this so turn them off
           boolean orig = ownerDocument().mutationEvents;
           ownerDocument().mutationEvents = false;
  @@ -213,6 +213,9 @@
   
           // set mutation events flag back to its original value
           ownerDocument().mutationEvents = orig;
  +
  +        // set entities and notations read_only per DOM spec
  +        setReadOnly(true, false);
   
       } // synchronizeChildren()
   
  
  
  

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