http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1915 *** shadow/1915 Fri Jun 8 12:11:44 2001 --- shadow/1915.tmp.21572 Fri Jun 8 12:27:16 2001 *************** *** 2,9 **** | Attributes not copied when using importNode method | +----------------------------------------------------------------------------+ | Bug #: 1915 Product: Xerces-J | ! | Status: ASSIGNED Version: 1.4 | ! | Resolution: Platform: Other | | Severity: Normal OS/Version: Linux | | Priority: High Component: DOM | +----------------------------------------------------------------------------+ --- 2,9 ---- | Attributes not copied when using importNode method | +----------------------------------------------------------------------------+ | Bug #: 1915 Product: Xerces-J | ! | Status: RESOLVED Version: 1.4 | ! | Resolution: FIXED Platform: Other | | Severity: Normal OS/Version: Linux | | Priority: High Component: DOM | +----------------------------------------------------------------------------+ *************** *** 148,150 **** --- 148,166 ---- The solution to this problem is to make Xerces import mechanism more robust and copy the text value directly in case the attribute has no child nodes. That's easy to do, I'll do it right away. Stay tuned. + + + ------- Additional Comments From [EMAIL PROTECTED] 2001-06-08 12:27 ------- + Iwan, + I just checked in the code. It's basically the same as what you suggested + except that instead of testing for the Oracle's (broken ;-) class I simply + check whether getFirstChild() returns null or not. That way it will work with + other broken DOM implementations just the same... + Ilan, + if you see the pb you're reporting with the latest version of Xerces, please, + file another bug or rather reopen the one we already have on this if it's not + already the case (please check first!). + Thanks. + + + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
