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=5528>.
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=5528

DOMBuilder mixes DOM Level 1 and 2





------- Additional Comments From [EMAIL PROTECTED]  2001-12-21 15:28 -------
I agree; that's wrong. DOM Level 2 is downward-compatable with DOM Level 1, but 
once operated on using the non-namespace-aware Level 1 calls can _NOT_ be safely 
treated as Level 2 again. (I speak as an ex-member of the DOM WG in saying 
this.)

Since Xalan-J currently considers DOM L2 a prerequisite, the instances of both 
createElement() and setAttribute() should be replaced with their ...NS() 
equivalents, replacing any namespace URI of "" with null before issuing the DOM 
call. That includes fixing the processing of namespace declarations. We should 
also scan the rest of the code for other instances of these. If someone wants 
DOM L1 support, that can be done but would require a considerable body of new 
code.

There's no chance I can get around to making and testing these changes before 
January. Hopefully someone else can do so. If not, please remind me then.

Reply via email to