Patch for namespace handling

Germain Garand germain at ebooksfrance.org
Fri Oct 24 03:55:54 CEST 2003


Le Vendredi 24 Octobre 2003 01:33, David Faure a écrit :
> The attached patch fixes all known issues with namespace handling for
> _elements_. (I'll work on attributes tomorrow).

Oh god no. Have a look at kfm-devel... :(
And of course, I did _not_ read your message.

>
> That is, it fixes all createElement and createElementNS testcases (that
> Peter Kelly wrote in khtmltests/regression/tests/dom/namespaces.html (in
> CVS), including many case issues in nodeName/localName/tagName, but also
> namespace ids being used at all etc.
>
> This patch is based on KDE_3_1_BRANCH, i.e. it proves that this can be done
> with the "ID" scheme (namespace in 16 bits, localname in 16 bits) that
> kde-3.1.x used and that safari uses too.
>
> CVS HEAD has different code (as compliant but much slower), so the goal is
> that once the ID scheme is fully working in the branch (incl. attributes),
> we'll "forward port" that code to CVS HEAD again.



More information about the Khtml-devel mailing list