[cddlm] CDL: extension query

Steve Loughran steve_loughran at hpl.hp.com
Thu Jun 16 07:21:53 CDT 2005


Jun,

I have one more query on extensions. What do you do with children of an 
element that are not eleements, but comments, text, etc.

Specifically, what is the result of this extension.


<?xml version="1.0"?>
<cdl:cdl
   xmlns:cdl="http://www.gridforum.org/namespaces/2005/02/cddlm/CDL-1.0"
  >
   <cdl:configuration>
     <Component>
       <!-- Component: nested comment -->
       Component: Nested Text
     </Component>
   </cdl:configuration>
   <cdl:system>
     <Extension cdl:extends="Component">
       <!-- Extension : nested comment -->
       Extension : Nested Text
     </Extension>
   </cdl:system>

</cdl:cdl>


Should it be parent retains stuff:

     <Extension cdl:extends="Component">
       <!-- Extension : nested comment -->
       Extension : Nested Text
     </Extension>

or merge in children
     <Extension cdl:extends="Component">
       <!-- Extension : nested comment -->
       Extension : Nested Text
       <!-- Component: nested comment -->
       Component: Nested Text
     </Extension>

I will file this on the tracker.
-Steve





More information about the cddlm-wg mailing list