Closed
Bug 65987
Opened 25 years ago
Closed 25 years ago
Need to implement the current() XSLT function
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
mozilla0.8
People
(Reporter: peterv, Assigned: keith)
References
Details
Attachments
(4 files)
We need to implement the current() XSLT extension function
(http://www.w3.org/TR/xslt.html#function-current) in Transformiix.
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•25 years ago
|
||
Checked in implementation.
| Reporter | ||
Comment 2•25 years ago
|
||
I'm doubtful about the current (hehe) implementation.
Target Milestone: --- → mozilla0.8
| Assignee | ||
Comment 3•25 years ago
|
||
Do we have a test case for this?
Comment 4•25 years ago
|
||
I'll attach the xml-xalan test case for this.
And yes, it's done wrong at the moment
Axel
Comment 5•25 years ago
|
||
Comment 6•25 years ago
|
||
Comment 7•25 years ago
|
||
| Assignee | ||
Comment 8•25 years ago
|
||
Thanks Axel...I'll have this working ASAP...probably tonight.
--Keith
Comment 9•25 years ago
|
||
I wonder if we have some stack of context nodes. and if current() would be
the very first one, instead of the top one.
Axel
| Assignee | ||
Comment 10•25 years ago
|
||
Judging from the output it looks as if current is the context node used at the
start of the evaluating the expression.
Should be a quick fix. I just don't have the code in front of me until I go
home.
--Keith
| Assignee | ||
Comment 11•25 years ago
|
||
I just looked at XSL:P and had the same bug....so I fixed it for that. It was a
quick fix. I'll do the same for Transformiix tonight.
--Keith
| Assignee | ||
Comment 12•25 years ago
|
||
| Assignee | ||
Comment 13•25 years ago
|
||
The test cases are now working properly. Axel or Peter, please verify.
Thanks,
--Keith
Assignee: peterv → kvisco
Status: ASSIGNED → NEW
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 14•25 years ago
|
||
Looks ok to me (Keith, could you use cvs diff -u in the future?). r=peterv.
Comment 15•25 years ago
|
||
r=me, had to add $(srcdir)/../util to xslt/functions/Makefile.in and gave the
makefile.win an overwhaul, too, of course adding -I..\util there.
Checking in
Axel
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•