Closed Bug 300757 Opened 19 years ago Closed 8 years ago

Implement mustUnderstand attribute

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allan, Unassigned)

References

()

Details

The spec defines a xforms:mustUnderstand attribute that can be placed on _any_
element in _any_ namespace. Argh.

We might need some xtf-like functionality for attributes (possibly also need for
bug 280368).
Blocks: 326372
Blocks: 326373
Here's a take on how it could be done: Before sending xforms-ready, we should do a 
document.evaluate("//*[@xf:mustUnderstand = 'true']",
                  document,
                  NSResolver,
                  XPathResult.ANY_TYPE,
                  null);
And then run through all the returned nodes, and figure out whether they are implemented... 

Question is what that means. I wonder if we can ask nsIContent for example whether it has a native implementation or an XBL binding. Maybe just whether it is possible to QI to a given class?
Assignee: allan → xforms
RIP xforms
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.