elena 2003/02/19 13:56:12
Modified: java/src/org/apache/xerces/dom AttrImpl.java
ElementNSImpl.java
Log:
Bug fix: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17152
This might be a temporary solution, in the long run we should see if XML Schema
type information could be made serializable.
Revision Changes Path
1.51 +3 -2 xml-xerces/java/src/org/apache/xerces/dom/AttrImpl.java
Index: AttrImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/AttrImpl.java,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- AttrImpl.java 4 Feb 2003 22:21:34 -0000 1.50
+++ AttrImpl.java 19 Feb 2003 21:56:12 -0000 1.51
@@ -170,7 +170,8 @@
protected String name;
/** Type information */
- Object type;
+ // REVISIT: we are losing the type information in DOM during serialization
+ transient Object type;
protected static TextImpl textNode = null;
1.33 +3 -2 xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java
Index: ElementNSImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ElementNSImpl.java 19 Feb 2003 18:50:32 -0000 1.32
+++ ElementNSImpl.java 19 Feb 2003 21:56:12 -0000 1.33
@@ -96,7 +96,8 @@
protected String localName;
/** DOM3: type information */
- XSTypeDefinition type;
+ // REVISIT: we are losing the type information in DOM during serialization
+ transient XSTypeDefinition type;
protected ElementNSImpl() {
super();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]