DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10549>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10549 DOM3 normalizeDocument() ------- Additional Comments From [EMAIL PROTECTED] 2002-07-08 20:20 ------- You are performing XML Schema validation and yet at the same time you are creating DOM Level 1 (non-namespace aware) nodes: doc.createElement("person"). In the result, your nodes do not have local name and thus are not namespace well-formed. While it is probably true that we should not die with NPE, the DOM Level 2 warns about mixing the two: [[Because of this fundamental difference, mixing both sets of methods can lead to unpredictable results. In particular, using setAttributeNS, an element may have two attributes (or more) that have the same nodeName, but different namespaceURIs]] - http://www.w3.org/TR/2000/REC-DOM- Level-2-Core-20001113/core.html#Namespaces-Considerations. I suggest you fix your code. I am leaving this bug open since we still need to decide what should we do in the case DOM Level 1 nodes are mixed with DOM Level 2 nodes. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
