[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: (off-topic) Re: Recursive Children?

  • From: Rick JELLIFFE <ricko@g...>
  • To: xml-dev@x...
  • Date: Wed, 02 Aug 2000 04:35:32 +0800

recursion and property set
Joe English wrote:
> Actually no: '#CONREF' *only* means that "if this attribute
> is specified, the element to which it belongs must be empty".

Except that CONREF means "Content Reference", does it not?

The name is the primary indication of the driving intent, not the
syntax and not the property set. In the same way, "attribute" and
"element" do not refer merely to information items in different
delimiters: the differences in the meaning of their names indicates 
something about them even by setting reasonable expectations
(i.e., the expectation from the names should reasonably be that
an attribute will be information about the element as a whole while
an element in content is merely some part.)

Otherwise, SGML is turned into merely a mechanism for data
manipulation rather than being an implementation of a particular
software engineering strategy.

> The intended semantics is that the application could generate
> content for the element (in some unspecified way), but the parser
> doesn't do anything else with #CONREF attributes.

Sure, an application can do that. 
> > That allowed
> > SGML to specify many-to-one relationships on "children", but it wasn't
> > used much because most SGML was stream-processed.
> Attributes with declared value REFID turn into an 'irefnode'
> property in the grove, not a 'subnode' property; and the
> presense of an attribute with a #CONREF default value
> only ensures that the parent node will have _no_ 'subnode'
> property (or an empty one, I'm not sure which, but it
> amounts to the same thing).  So the "children" relation
> always forms a tree, not a DAG or cyclic graph.

Yes. By quoting "children", I was trying to distinguish it from normal 
children or subnodes.  It would have been clearer without the 'on
"children"', but I don't know what else to use. (But note that SGML'86
implementations do not have to follow the ISO property set specs to be

Rick Jelliffe


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.