Closed
Bug 85408
Opened 23 years ago
Closed 22 years ago
clean up XSLTProcessor.cpp
Categories
(Core :: XSLT, defect, P5)
Core
XSLT
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: axel, Assigned: peterv)
References
Details
Attachments
(1 file)
118.27 KB,
patch
|
Details | Diff | Splinter Review |
remove unused code from XSLTProcessor.cpp, clean up the logic, remove
wallpaper functions.
XSLType::CALL_TEMPLATE has code that moved to other functions,
XSLType::CALL_TEMPLATE has a if ( xslTemplate ) { alot of code, those should
be converted to early breaks.
There are alot of no-brainer convenience functions, which more or less just
clutter the code, namely half of the ::process() functions.
Axel
|XSLTProcessor::processTopLevel(Document* xslDocument ...| should go to IMHO.
It's just a matter of doing |processTopLevel(document.getDocumentElement(),...|
rather then |processTopLevel(document,...|
On second thought maybe
|XSLTProcessor::processTopLevel(Document* xslDocument ...| is a good place to
handle LRE stylesheets (section 2.3 of spec)
Assignee | ||
Comment 3•23 years ago
|
||
I'll attach a first patch. I've had this for a couple of months, brought it up
to date with the current tree. It's a draft, it won't compile on standalone and
needs more cleanup. Warning: lot's of code shifting and cleanup, so prepare for
merge hell if you want to apply this. If anyone works on this, let me know.
Assignee: kvisco → peterv
Assignee | ||
Comment 4•23 years ago
|
||
Reporter | ||
Updated•23 years ago
|
Priority: -- → P5
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Future
this is very much done on the branch
Depends on: txbranch
fixed with the branch-landing, yeah baby
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•