[cddlm-wg | CDL Spec Revisions - 1724] How does value resolution handle non-element children in a ref node?]

One thing I'd like to discuss tomorrow is the outstanding tracker issues that I've been adding up against the CDL on the topics of resolution and namespaces. This one is something I think is just not quite explicit in the spec: is it an error to have text, PI or comment nodes under a reference, and if so, what to do with them. The spec only says "no child elements", not "no children". -steve -------- Original Message -------- Subject: [cddlm-wg | CDL Spec Revisions - 1724] How does value resolution handle non-element children in a ref node? Date: Tue, 17 Jan 2006 06:41:44 -0600 From: Sourceforge Tracker Monitor <noreply@forge.gridforum.org> Reply-To: followup-1724@forge-tracker.gridforum.org To: steve_loughran@hpl.hp.com A new artifact has been added: 1724 Submitted by: Steve Loughran Submitted date: 2006-01-17 12:41:43 Respond by visiting: https://forge.gridforum.org/tracker/?func=detail&atid=734&aid=1724&group_id=130 (https://forge.gridforum.org/tracker/?func=detail&atid=734&aid=1724&group_id=130) Summary: How does value resolution handle non-element children in a ref node? Project: cddlm-wg Tracker: CDL Spec Revisions Artifact ID: 1724 Category: <None> Group: <None> Status: Open Priority: - Last Modified By: Steve Loughran Last Modified: 2006-01-17 12:41:43 Submitted By: Steve Loughran Submit Date: 2006-01-17 12:41:43 Assigned To: <None> File(s): <None> Description: The CDL specification says on P17 that "Value references MUST NOT be placed in an element that has child elements" But there is no coverage of the policy with respect to other child types, such as comments, text and processing instructions Specifically, are the following valid or not <user1 cdl:ref="../toplevel"><!-- comment node--></user1> <user cdl:ref="../toplevel"> <!-- comment node--> And some text </user> If they are invalid, the spec must say "no children of any type". If they are valid, the spec must say what is to be done with the nodes during reference resolution. There is an implicit specification in the value resolution process (the nested nodes are dropped). Test case org/ggf/cddlm/files/cdl/valid/set_02_references/cddlm-cdl-2005-02-0017.xml View the CDL Spec Revisions : https://forge.gridforum.org/tracker/index.php?func=browse&group_id=130&atid=734 (https://forge.gridforum.org/tracker/index.php?func=browse&group_id=130&atid=734) ________________________________________ Modify your monitoring preferences: https://forge.gridforum.org/monitoring/monitorPreference.php (https://forge.gridforum.org/monitoring/monitorPreference.php) Turn off monitoring for this Tracker: https://forge.gridforum.org/tracker/?group_id=130&func=monitor&category=734 (https://forge.gridforum.org/tracker/?group_id=130&func=monitor&category=734)
participants (1)
-
Steve Loughran