Closed
Bug 186979
Opened 22 years ago
Closed 22 years ago
we process using the sourcenodes ownerdocument
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: sicking, Assigned: sicking)
Details
Attachments
(1 file, 2 obsolete files)
6.81 KB,
patch
|
axel
:
review+
peterv
:
superreview+
asa
:
approval1.3b+
|
Details | Diff | Splinter Review |
We ignore the supplied sourcenode and use its owning document instead. Both for the main processing, and for processing global variables. Patch comming up
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #110269 -
Flags: superreview?(peterv)
Attachment #110269 -
Flags: review?(axel)
Assignee | ||
Comment 2•22 years ago
|
||
Comment on attachment 110269 [details] [diff] [review] patch to fix please ignore the changes to the output-handler. They are not part of this bug. Forgot to save before attaching
Comment 3•22 years ago
|
||
Would you mind saying a little bit more precisely what's wrong? Which entry points and whatnot. And I'd prefer a patch with just the stuff in it that belongs here.
Assignee | ||
Comment 4•22 years ago
|
||
The problem exists with all entrypoints in module. The problem is that instead of processing using the supplied sourcenode, we get it's ownerdocument and run the transformation using that. We also process top-level variables using this document-node. To fix this I had to let the ProcessorState keep an mSourceNode instead of an mSourceDocument.
Attachment #110269 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #110269 -
Flags: superreview?(peterv)
Attachment #110269 -
Flags: review?(axel)
Assignee | ||
Updated•22 years ago
|
Attachment #110359 -
Flags: superreview?(peterv)
Attachment #110359 -
Flags: review?(axel)
Updated•22 years ago
|
Attachment #110359 -
Flags: superreview?(peterv) → superreview+
Comment 5•22 years ago
|
||
Hmm, actually, how does this fit with section 5.1 of the XSLT spec? You claim the "root node" is the node that we get supplied? http://www.w3.org/TR/xslt#section-Processing-Model
Assignee | ||
Comment 6•22 years ago
|
||
yeah, I think we should support starting the transformation at any node. We will always start the processing using the document-node (or root-node) when transforming using a processing-instruction.
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•22 years ago
|
||
Attachment #110359 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #110359 -
Flags: review?(axel)
Assignee | ||
Comment 8•22 years ago
|
||
Comment on attachment 112459 [details] [diff] [review] sync to tip this is different enough that i think i need a new sr..
Attachment #112459 -
Flags: superreview?(peterv)
Attachment #112459 -
Flags: review?(axel)
Comment 9•22 years ago
|
||
Comment on attachment 112459 [details] [diff] [review] sync to tip here you go, r=axel@pike.org
Attachment #112459 -
Flags: review?(axel) → review+
Updated•22 years ago
|
Attachment #112459 -
Flags: superreview?(peterv) → superreview+
Assignee | ||
Comment 10•22 years ago
|
||
Comment on attachment 112459 [details] [diff] [review] sync to tip due to simplicity of the patch it is very lowrisk. It will also only affect pages using XSLT.
Attachment #112459 -
Flags: approval1.3b?
Comment 11•22 years ago
|
||
Comment on attachment 112459 [details] [diff] [review] sync to tip a=asa (on behalf of drivers) for checkin to 1.3beta.
Attachment #112459 -
Flags: approval1.3b? → approval1.3b+
Assignee | ||
Comment 12•22 years ago
|
||
checked in. Thanks for reviews
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•