[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Inheritance/defaulting of attributes
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|