Closed Bug 389883 Opened 18 years ago Closed 10 years ago

[1.1] Support new functions in the XForms Function Library

Categories

(Core Graveyard :: XForms, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlc6, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5 Build Identifier: 0.8.0.3 This bug report represents a list of those XPath functions in the XForms Function Library that are specified in XForms 1.1 but not in XForms 1.0 and which are not yet implemented by the Mozilla XForms Extension. `power()`: http://www.w3.org/TR/xforms11/#fn-power `luhn()`: http://www.w3.org/TR/xforms11/#fn-luhn `random()`: http://www.w3.org/TR/xforms11/#fn-random `encode()`: http://www.w3.org/TR/xforms11/#fn-encode `decode()`: http://www.w3.org/TR/xforms11/#fn-decode `digest()`: http://www.w3.org/TR/xforms11/#fn-digest `hmac()`: http://www.w3.org/TR/xforms11/#fn-hmac `days-to-date()`: http://www.w3.org/TR/xforms11/#fn-days-to-date `seconds-to-dateTime()`: http://www.w3.org/TR/xforms11/#fn-seconds-to-dateTime `local-date()`: http://www.w3.org/TR/xforms11/#fn-local-date `local-dateTime()`: http://www.w3.org/TR/xforms11/#fn-local-dateTime `choose()`: http://www.w3.org/TR/xforms11/#fn-choose `id()`: http://www.w3.org/TR/xforms11/#fn-id Please let me know if it is better to leave this as a single unified bug report, or if I should part it out into individual bug reports for each function. Reproducible: Always
(In reply to comment #0) > Please let me know if it is better to leave this as a single unified bug > report, or if I should part it out into individual bug reports for each > function. Let leave this as is, kind of meta bug. When someone will start the work, he will decide how it's better.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Looks like the `context()` function (<http://www.w3.org/TR/xforms11/#fn-context>) was introduced in the 2007-11-29 version of the spec, so let's add it to the list as well. Its primary use-case is pretty huge: dealing with maintaining the local context for `xf:setvalue` even though its single-node-binding changes the context. My colleagues and I think that was a tremendously bad idea, so it will at least be good to have a workaround. Once it's implemented. ;-)
(In reply to comment #2) > Looks like the `context()` function > (<http://www.w3.org/TR/xforms11/#fn-context>) was introduced in the 2007-11-29 > version of the spec, so let's add it to the list as well. Its primary use-case > is pretty huge: dealing with maintaining the local context for `xf:setvalue` > even though its single-node-binding changes the context. My colleagues and I > think that was a tremendously bad idea, so it will at least be good to have a > workaround. Once it's implemented. ;-) > We've already got context() implemented on the trunk via bug 418734. Just need to get it checked into the branch for the next release.
RIP xforms
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.