This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10983 - [DM11] Children are incomplete in Appendix E example
Summary: [DM11] Children are incomplete in Appendix E example
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Data Model 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Norman Walsh
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2010-10-06 02:29 UTC by Rick Yorgason
Modified: 2011-05-31 15:33 UTC (History)
0 users

See Also:


Description Rick Yorgason 2010-10-06 02:29:15 UTC
The example in Appendix E only seems to list elements among the children, leaving out text, comment, and PI nodes.  This seems to go against 6.2.1 constraint 4:

Exclusive of Attribute and Namespace Nodes, if a node N has a parent element E, then N must be among the children of E.

I'm pretty sure these are the correct values:

dm:children(D1) = ([P1], [E1])
dm:children(E1) = ([C1], [E2], [E7])
dm:children(E3) = ([T1])
dm:children(E5) = ([T2])
dm:children(E6) = ([T3])
dm:children(E8) = ([T4])
dm:children(E10) = ([T5])
dm:children(E11) = ([T6])
Comment 1 Norman Walsh 2011-05-31 15:33:30 UTC
I fixed the stylesheet, this will be correct in the next publication.