You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/06/16 05:45:14 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom ChildAndParentNode.java ParentNode.java
jeffreyr 00/06/15 20:45:13
Modified: java/src/org/apache/xerces/dom ChildAndParentNode.java
ParentNode.java
Log:
Fixed logical error that caused DOM Serialization bug - please do not change - It may seem counterIntuitive but we really it makes sense - Any node which has not been fluff needs to be fluff up before we serialize
Revision Changes Path
1.5 +2 -2 xml-xerces/java/src/org/apache/xerces/dom/ChildAndParentNode.java
Index: ChildAndParentNode.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ChildAndParentNode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChildAndParentNode.java 2000/05/24 20:28:25 1.4
+++ ChildAndParentNode.java 2000/06/16 03:45:12 1.5
@@ -1,4 +1,4 @@
-/* $Id: ChildAndParentNode.java,v 1.4 2000/05/24 20:28:25 lehors Exp $ */
+/* $Id: ChildAndParentNode.java,v 1.5 2000/06/16 03:45:12 jeffreyr Exp $ */
/*
* The Apache Software License, Version 1.1
*
@@ -940,7 +940,7 @@
private void writeObject(ObjectOutputStream out) throws IOException {
// synchronize chilren
- if (syncChildren()) {
+ if (syncChildren() == false ) {
synchronizeChildren();
}
// write object
1.5 +2 -2 xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java
Index: ParentNode.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ParentNode.java 2000/05/24 20:28:25 1.4
+++ ParentNode.java 2000/06/16 03:45:13 1.5
@@ -1,4 +1,4 @@
-/* $Id: ParentNode.java,v 1.4 2000/05/24 20:28:25 lehors Exp $ */
+/* $Id: ParentNode.java,v 1.5 2000/06/16 03:45:13 jeffreyr Exp $ */
/*
* The Apache Software License, Version 1.1
*
@@ -951,7 +951,7 @@
private void writeObject(ObjectOutputStream out) throws IOException {
// synchronize chilren
- if (syncChildren()) {
+ if (syncChildren() == false ) {
synchronizeChildren();
}
// write object