Reviewed by John Sullivan.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Sep 2005 22:41:37 +0000 (22:41 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Sep 2005 22:41:37 +0000 (22:41 +0000)
commit7c4e5e37c71802e575c5946d59bb757c294f347e
tree2f3268af7fc7102285bd56e6c536cae76cf416a8
parent9e5696c64e99350aa8fb12fab7b6b4908759c56d
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4493
          add qualifiedName checking for empty string

        * khtml/xml/dom_docimpl.cpp:
        (qualifiedNameIsValid): Added.
        (qualifiedNameIsMalformed): Added.
        (DOMImplementationImpl::createDocumentType): Added checks and exceptions using above functions.
        (DOMImplementationImpl::createDocument): Ditto.

        * layout-tests/dom/html/level2/core/createDocument08-expected.txt: Updated to expect success.
        * layout-tests/dom/html/level2/core/createDocumentType04-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/dom/html/level2/core/createDocument08-expected.txt
LayoutTests/dom/html/level2/core/createDocumentType04-expected.txt
WebCore/ChangeLog-2005-12-19
WebCore/khtml/xml/dom_docimpl.cpp