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

Re: Inheritance/defaulting of attributes

  • From: "Rick Jelliffe" <ricko@a...>
  • To: <holstege@f...>
  • Date: Fri, 10 Oct 1997 01:31:03 +1000

f. holstege
This discussion probably should be on comp.text.sgml, so i wont continue it 
apart from this.

 
> From: Mary Holstege <holstege@f...>
  
> I don't think this is such a bad solution.  Your only alternatives are to
> have to define the content model all over again (which defeats the whole
> purpose) or somehow be able to identify which part of the parent content model
> the new stuff needs to insert itself after, which strikes me as too brittle
> to be workable.

I have proposed to ISO WG8 a keyword #ANY that can be allowed in a content
model, meaning that one of any element type can be put there. This allows
base elements types to maintain their integrity. 

> It is a mistake for ordering information to be part of the abstract syntax
> declaration in the first place, IMHO.  Presentation order is, well, a
> presentation issue and has no business being declared anywhere other than in a
> presentation rule (style sheet, if you will). 

I couldn't disagree more.  Without a fixed ordering, you have to either use in-memory
processing of data  or you have to have an extra pass (or step) in your stream 
processing to reorder the data.  Stream-based text processing is a very useful
technique.  Maybe memory is cheap enough now that, with virtual memory, we can
forget about stream processing, but I don't think so yet.  But the requirement
that things should be declared before they are used (where possible) that underpins
stream processing is greatly aided by fixed-order processing.

If we don't have fixed orderings possible, we have to key everything. You may 
as well use a database!

Rick Jelliffe

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.