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

Re: wd-xml-names: precedence rules for attribute specification

  • From: james anderson <James.Anderson@m...>
  • To: "xml-dev@i..." <xml-dev@i...>
  • Date: Tue, 11 Aug 1998 23:54:33 +0200

first names precedence
Tim Bray wrote:
> 
> At 09:33 PM 8/11/98 +0200, james anderson wrote:
> >IV. please specify the precedence rules for attribute "specification".
> >
> >there are three states in the following matrix
> 
> I can't understand the rows & columns of the matrix.  Could you

Gee, and I thought that, of all the questions, this one was the clearest...

There are two places the attribute can be "attached": in the element itself
and in some element in its context. The respective attachment can be by
appearance in the start tag or by declaration of a default in attlist.  i had
understood the draft to allow both forms of attachment. (the recent examples
to xml-dev - including from mr. clark, left me in the belief that i was
correct) thus the 16 positions in the table.

default = attlist declaration
binding = presence in the start tag.

the problem state are

(cb/-- X --/ed) a context binding and element default
(--/-- X cd/ed) nothing present in the elements in the document entity, just
in the
                declarations
(cb/-- X cd/ed) a combination of the above

> provide some examples?  In particular I can't understand
> what you mean by "default presence in attribute declaration"
> and "attribute presence in element".
> 

Just now i have to catch a train (i'm nine hours ahead of you folks).
if this is all still unclear in the morning i'll set myself to some examples.

> Surely you're not talking about default attribute values in
> <!ATTLIST declarations?  If so, that's a non-issue; the defaults
> are there if it's not explicitly specified, they're not there if
> it is explicitly specified, there can be no ambiguity. -Tim

Please look at the table again, given my explanation above.

What about the case where it appears as a default in the containing element
and as a default in the contained element?

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.