[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 126869] New: serializeToString doesnt work on a DOMNode,
From:       Fredrik Johansson <fredrik () mumme ! se>
Date:       2006-05-06 21:29:20
Message-ID: 20060506232917.126869.fredrik () mumme ! se
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=126869         
           Summary: serializeToString doesnt work on a DOMNode, only
                    DOMDocument
           Product: konqueror
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml ecma
        AssignedTo: konq-bugs kde org
        ReportedBy: fredrik mumme se


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          g++ 4.02 (Kubuntu breezy) 
OS:                Linux

XMLSerializer.serializeToString(node);
returns undefined, in moz it does serialize the tree under node.

However if we provide the node.ownerDocument it serializes DOMDocument.

This is less usefull if we would want to make a cross browser innerXML function in \
ecmascript


I copied webcore's function in xmlserializer.cpp and it seems to work, however you \
are probably better suited to deside if it could get in kde3.5.3

Im sypplying a testcase for you.

Regards
Fredrik Johansson


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic