[cddlm] On CDL tests

Guilherme Germoglio guiga at dsc.ufcg.edu.br
Thu Jan 26 12:54:25 CST 2006


Hello all,

I think I've found a misinterpretation in cddlm-cdl-2005-02-0018 test.

The cdl file:

 <cdl:cdl>
          <cdl:configuration>
            <toplevel>
              <value cdl:lazy="true"/>
            </toplevel>
          </cdl:configuration>
          <cdl:system>
            <app>
              <user cdl:ref="value" cdl:refroot="toplevel"/>
            </app>
          </cdl:system>
 </cdl:cdl>

The resolution expected:

 <cdl:system>
          <app>
            <user cdl:lazy="true"/>
          </app>
 </cdl:system>

But the specification states in 7.5.2.2 Example: ... A value reference to
this property will not be resolved before the resolution of this @cdl:lazy
attribute.

So, as the user lazy element in the test was not yet resolved, the reference
to it should not be resolved. Is this correct?

If so, the resolution expected must be:

<cdl:system>
          <app>
            <user cdl:ref="value" cdl:refroot="toplevel" />
          </app>
</cdl:system>

The cddlm-cdl-2005-02-invalid-0003.xml test also has a problem. It states
that there's an indirect recursive reference. The cdl file follows:

<cdl:cdl>
          <cdl:configuration>
          </cdl:configuration>
          <cdl:system>
            <app>
              <hostname cdl:ref="database"/>
              <database cdl:ref="hostname" />
            </app>
          </cdl:system>
 </cdl:cdl>

But the resolution algorithm (p18-19) says the that no cdl:ref/cdl:refroot
is copied. So there's no recursive reference and it is a valid cdl.

Guilherme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/cddlm-wg/attachments/20060126/8eaa6d8c/attachment.htm 


More information about the cddlm-wg mailing list