Closed
Bug 369925
Opened 17 years ago
Closed 17 years ago
support current() XPath function in repeat
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 342857
People
(Reporter: zdenek.hrib, Unassigned)
Details
Attachments
(1 file)
1.13 KB,
application/xhtml+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: 0.7.0.1 would it be possible to support the XPath current() function to get access to the current node in the repeat cycle ? it should be intended for situations like: <repeat nodeset="instance('selection')/item"> <output ref="instance('one')/item[id = current()/id]/name" /> </repeat> Reproducible: Always Steps to Reproduce: 1.try to use current() function in the repeat cycle Actual Results: use of current() function causes error Expected Results: current() function would allow access to the curently evaluated node during the repeat cycle
Reporter | ||
Comment 1•17 years ago
|
||
this testcase works without problems with the novel Xforms plugin for IE (after renaming to html extension from xhtml extension :-)
Wow, talk about timing! The fix for bug 342857 just got checked in today. I tested your testcase with it and it works fine. To use it yourself, get a trunk nightly (extension AND browser) dated tomorrow or later and set xforms.enableExperimentalFeatures to true in your prefs. Note: this will not be available in any of our previews until the 1.1 spec reaches a stable state (like 'recommendation'). Or until we change our minds :-)
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•17 years ago
|
||
amazing ! in first place I apologize I have not found the duplicate first. I have tried to search the bugzilla for "current()" but I must missed it somehow :-(. The thing about XForms 1.1 is a pitty, especialy because some other engines support it anyway, but I understand your attitude. thanx
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•