You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/03/12 13:21:48 UTC
[Bug 937] New - cloneNode empties Attribute nodes.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=937
*** shadow/937 Mon Mar 12 04:21:48 2001
--- shadow/937.tmp.27858 Mon Mar 12 04:21:48 2001
***************
*** 0 ****
--- 1,25 ----
+ +============================================================================+
+ | cloneNode empties Attribute nodes. |
+ +----------------------------------------------------------------------------+
+ | Bug #: 937 Product: Xerces-J |
+ | Status: NEW Version: 1.3.0 |
+ | Resolution: Platform: PC |
+ | Severity: Critical OS/Version: |
+ | Priority: High Component: DOM |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: nestefan@coi.de |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ We have to rework DOMs here heavily. To safe DOM construction time we
+ decided to parse the document once in a DOM and then pull duplicates
+ via cloneNode at the document root.
+ As it turns out Xerces 1.3.0 strips away the values of attributes, i.e.
+ <A B="C">
+ becomes
+ <A B="">
+ after cloneNode(). This does not happen with Xerces 1.2.3 (which we cannot
+ actually use for different reasons).
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org