Bug 6180 - "text" output in fragment produced by XSLTProccessor is wrong (has xhtml garbage)
Summary: "text" output in fragment produced by XSLTProccessor is wrong (has xhtml garb...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks: 5142
  Show dependency treegraph
 
Reported: 2005-12-21 02:32 PST by Eric Seidel (no email)
Modified: 2006-01-04 13:22 PST (History)
1 user (show)

See Also:


Attachments
untested fix (1.64 KB, patch)
2006-01-02 17:19 PST, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff
Tweak patch and update tests (5.43 KB, patch)
2006-01-04 12:27 PST, Anders Carlsson
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2005-12-21 02:32:19 PST
"text" output in fragment produced by XSLTProccessor is wrong (has xhtml garbage)

There is a new test case which covers this, just landed (or about to land):

fast/xsl/xslt-processer.html:
"2.5 transformed fragment containing only text"
Comment 1 Eric Seidel (no email) 2006-01-02 17:19:13 PST
Created attachment 5431 [details]
untested fix

My tree is currently unbuildable (due to other half-patches I have applied),
but I was in this code today, and saw a simple fix to this bug, which I've
attached.  I also included one additional fastMalloc usage.
Comment 2 Anders Carlsson 2006-01-04 12:27:58 PST
Created attachment 5484 [details]
Tweak patch and update tests
Comment 3 Eric Seidel (no email) 2006-01-04 12:41:21 PST
Comment on attachment 5484 [details]
Tweak patch and update tests

Looks great.

XSLT parameters are still broken.  But this fixes what it claims to.

r=me.