Skip to content
  • darin's avatar
    Reviewed by John Sullivan. · 1566f8a8
    darin authored
            - 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: http://svn.webkit.org/repository/webkit/trunk@10472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1566f8a8