The page has buttons that should sort the table columns and also clicking on a column header should sort the column in question. Neither one does anything in Safari. Works correctly in Firefox, Opera and Win IE.
It doesn't work in Safari and it does in firefox, confirming, switching to normal tho since i can't see how this is major or p2, so making it p3.
The problem here is that there's a call to c.setAttribute( "_sortType", oSortTypes[i] ); and "_sortType" is an invalid xml name because it can't begin with _ so an exception is thrown. I've examined both WinIE and Gecko and they seem to be very liberal about what characters to allow in attribute and element names. I could even create an element with the name "*"! (This is true for both HTML and XHTML) I'm not sure what the correct fix here is, we could be more liberal for HTML documents while still being restrictive for XML documents.
"_sortType" seems like a valid XML name to me: http://www.w3.org/TR/xml11/#NT-NameStartChar
This has been reduced, we just need someone to write up a nice testcase for it now. This should be a trivial fix. ElementImpl::setAttributeNS is the method in question. dom_elementimpl.cpp is the file. I believe it uses validation routines for QualifiedName, but you'd have to check.
It works for me with nightly 13244. I think this should be closed.
*** This bug has been marked as a duplicate of 5317 ***
Mass moving XML DOM bugs to the "DOM" Component.