Closed Bug 334916 Opened 19 years ago Closed 18 years ago

XForms controls throws exception always

Categories

(Core Graveyard :: XForms, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: surkov, Unassigned)

References

Details

Attachments

(1 file)

If xforms control sees that something goes wrong then it thows always exception. It is right from the point of view of xforms but sometimes it is not quite right from the xforms author point of view. In instace I make a xforms document from few xml documents. Model is described in one xml file, the xforms controls are described in other xml file. When I parse xml file with xforms controls then xforms controls throws excepions since they don't see model. I get exceptions in js console and they plague me with one's presence. It is quite right behaviour from the xforms point of view but sometimes it is not useful.
Attached file testcase (deleted) —
Probably we should provide mechanism to handle thease exceptions? Now afaik they are just information in js console.
The bug is actual after bug 306247 patch applying.
Depends on: 306247
(In reply to comment #2) > Probably we should provide mechanism to handle thease exceptions? Now afaik > they are just information in js console. > What are you looking for? You want a preference to turn off/filter the JS Console warnings? Or are you also asking for a preference so that we don't generate xforms-*-exception events? Changing to enhancement since there is no 'bug' here.
Severity: minor → enhancement
Assignee: aaronr → xforms
Worksforme since I don't see any errors in console and therefore I don't know where mechanism to handle errors is usefull :).
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: