Hello,
Our test results regarding the cdl parser can be viewed in: http://lsd.ufcg.edu.br/~guiga/cddlm/test_results/index.html
>From these tests we have changed test cddlm-cdl-2005-09-0005, from
import_namespace set because its resolution expected is not correct.
The expected must be the following:
<cdl:system xmlns:test1="http://cddlm.org/test1.cdl"
xmlns:t2="http://cddlm.org/test2.cdl">
<MyServer>
<hostname>www.cddlm.org</hostname>
<port>80</port>
</MyServer>
</cdl:system>
As hostname property was redefined to www.cddlm.org in MyServer
, which extends test1:WebServer, this property cannot be the same of test1:WebServer (data/hostname).
As you can see in the results, 2 required tests remained failing: cddlm-cdl-2005-02-0021 and cddlm-cdl-06-0001
They regard the resolution of references to lazy properties. We think
the tests are not according to the specification, that says in sections
7.3.3 and 7.5.2, respectively:
"A value reference at n
referring to n' is resolvable if and only if:
(...)
The node n' and its descendants do not have any @cdl:ref and @cdl:lazy attribute. Otherwise, the resolution is deferred until these @cdl:ref and @cdl:lazy attributes are resolved."