This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf5013?nav=1&selectedTab=comments at Sun, 06 Nov 2022 16:28:34 GMT SourceForge : artf5013: (1547) What is our extension policy with text, comment and similar children of a node

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Tracker
Project: CDDLM-WG     Trackers > CDL Spec Revisions > View Artifact
Artifact artf5013 : (1547) What is our extension policy with text, comment and similar children of a node
Tracker: CDL Spec Revisions
Title: (1547) What is our extension policy with text, comment and similar children of a node
Description:
with extends, How do we merge children of an element that are not elements themselves

<?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>
.
Submitted By: Steve Loughran
Submitted On: 06/16/2005 7:49 AM EST
Last Modified: 03/23/2006 3:10 PM EST

Status / Comments Change Log Associations Attachments  
Status  
Group: * Other
Status:* Open
Category: * Sections 7-10
Customer: *
Priority: * 0
Assigned To: * None
Reported in Release: *
Fixed in Release: *
Estimated Hours: * 0
Actual Hours: * 0
Comments
Guilherme Mauro Germoglio: 03/23/2006 3:10 PM EST
  Comment:
The specification, in section 7.2.2, says: 
"Resolution of a prototype reference consists of inheritance of elements and attributes." 
Saying so, no text nor comment node should be extended. However, if this is correct, the example in the section 7.2.2 is incorrect once it extends a 
text node (the "b" element contains the text node with value "2"). Maybe the phrase must be changed to:
"Resolution of a prototype reference consists of inheritance of nodes and attributes."
  Action: Update
Guilherme Mauro Germoglio: 03/23/2006 3:10 PM EST
  Comment:
The specification, in section 7.2.2, says: 
"Resolution of a prototype reference consists of inheritance of elements and attributes." 
Saying so, no text nor comment node should be extended. However, if this is correct, the example in the section 7.2.2 is incorrect once it extends a 
text node (the "b" element contains the text node with value "2"). Maybe the phrase must be changed to:
"Resolution of a prototype reference consists of inheritance of nodes and attributes."
  Action: Update
Steve Loughran: 06/16/2005 7:49 AM EST
  Action: Create


 
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf5013?nav=1&selectedTab=comments at Sun, 06 Nov 2022 16:28:34 GMT