Hi Joe,
thank you - I am sorry that I did not see it in the DOM spec. Nevertheless this
behaviour of importNode() is absolutely incomprehensible, as I assume that 99%
of all DOM users need my expected funtionality of importNode(). In the
java.sun.com forums are dozens of user questions, why importNode() does not
import all attributs of the node to be imported. I can hardly imagine a useful
case, where default attrinbutes should not be imported. So the only workaround
is to write my own deep copy routine, to import a node with unassigned default
attrinutes- am I right?
Regards and thank you
J. Ruhe
[EMAIL PROTECTED]
27.02.03 17:04
Bitte antworten an xerces-j-dev
An: [EMAIL PROTECTED]
Kopie:
Thema: Re: A serious bug in org.w3c.dom or Xerces
The DOM spec explicitly says "Default attributes are not copied, though if
the document being imported into defines default attributes for this
element name, those are assigned. "
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies:
XML, XSL and more. "may'ron DaroQbe'chugh vaj bIrIQbej"
("Put down the squeezebox and nobody gets hurt.")
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]