element.xml patching

"Curt Arnold" <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <008001c2be31$77f009d0$a800a8c0@CurtMicron>
Currently, the build script patches element.xml to change the name parameter of Element.getElementsByTagName to tagname to make it consistent with the parameter names of Document.getElementsByTagName.  Making an actually change in the spec would be a breaking change for bindings that support named parameters and for that reason changing the spec has been rejected.  However, it simplifies things for the test suite language to have the parameter names identical.  Otherwise, both tagname and name would have to be optional attributes and use of the proper name could not be enforced by the schema.

I can move this change into dom3-combine.xsl which would eliminate the need to regenerate the patch file for subsequent versions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.