Closed Bug 302168 Opened 20 years ago Closed 9 years ago

Valid calculate MIPs generate MDG loop error

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allan, Unassigned)

References

()

Details

Attachments

(1 file)

1.62 KB, application/xhtml+xml
Details
As I wrote in bug 301413, we still have a problem in the MDG regarding loops. The problem is that using expressions with predicates the MDG sometimes collects to many dependencies. If the expressions are calculate MIPs a loop will exist in the MDG graph, making the rebuild fail.
Attached file Testcase
Here's a testcase for it.
(In reply to comment #1) Attachment 190522 [details] fails because the MDG fails to see that '[2]' is a constant predicate, and thus adds '/root/useArray/use/dont' (all three dont nodes) as a dependency to both bind 'use1dont' and 'use3dont', resulting in: use[1]/dont => use[3]/dont => use[1]/dont I think this should be done as part of bug 265212, as I would rather leave code that needs to die alone...
Depends on: 265212
Blocks: 326372
Blocks: 326373
Assignee: allan → xforms
RIP xforms
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: