Skip to content

DependencyNotifyingDomFacade is not returning all nodes #82

@JoernT

Description

@JoernT

DependencyNotifyingDomFade should report all dependent nodes for a given context and expression but fails to report the @selected node in the following example:

 <fx-fore>
        <fx-model>
            <fx-instance src="facets.xml">
               <facets>
                   <facet dimension="type" count="25" selected="false">poem</facet>
                   <facet dimension="type" count="21" selected="false">prose</facet>
               </facets>
           </fx-instance>
           <fx-instance id="vars">
              <data>
                   <running>false</running>
              </data>
          </fx-instance>

            <fx-bind ref="facet" relevant="instance('vars')/running != 'true' or @selected='true'">
            </fx-bind>
    </fx-model>
</fx-fore>

Thus the dependencyGraph is missing nodes and will create a vertex for each 'facet' node and a node for the 'running' node but does not report the '@selected' node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions