Summary: | createDocument fails with DOM Exception 5 when passed empty qname | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||
Component: | DOM | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez | ||||
Priority: | P4 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://www.zeugma.ch/blog/xslttest.html | ||||||
Attachments: |
|
Description
Eric Seidel (no email)
2005-10-13 17:42:06 PDT
I discovered this when trying to use: http://www.zeugma.ch/blog/xslttest.html using sarissa : http://sarissa.sourceforge.net/doc/ For a good conversation about this with the KDE developers' conclusions see http://bugs.kde.org/ show_bug.cgi?id=61650 Created attachment 5442 [details]
Fix
The attached patch fixes this bug. Note that it makes two of the W3C tests
fail, but these fail in at least Firefox and Opera (I suspect WinIE too).
See my bug report #5735 (I guess you may want to close this now) --- note that by DOM Level 3, you're supposed to not create the document node -ONLY- when all of documentType, NameSpaceURI and qualifiedName are null Mass moving XML DOM bugs to the "DOM" Component. |