[Webkit-unassigned] [Bug 7413] New: REGRESSION: [DOMRange markupString] produces invalid XML

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Feb 21 21:54:57 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7413

           Summary: REGRESSION: [DOMRange markupString] produces invalid XML
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: major
          Priority: P1
         Component: XML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ap at nypop.com
OtherBugsDependingO 5385
             nThis:


When reproducing bug 5385, I've noticed that [DOMRange markupString] produces
incorrect results. Here is what I observe, followed by the original steps to
reproduce.

-----------------------------------------------
I can see that the ToT result is badly broken, tags are not
opened and closed correctly:
<title/>Why You Should Care</title>
...
<surname/>Raymond</surname>
...etc.
-----------------------------------------------
To reproduce:
Load xml-file into webview (I used
http://www.catb.org/~esr/writings/cathedral-bazaar/
introduction.xml)
- Select the preface-node  (=>selectedItem)

(I added the following test-code to the DOMTreeViewer example, in
DOMDatasource.m:119 and clicked 
around)

        DOMRange *myRange = [[[_webView mainFrame] DOMDocument] createRange];
        [myRange selectNode: selectedItem];
        NSLog( [myRange markupString]);


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list