W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > May 1997

Re: SD2 - Structured Attributes

From: Dave Hollander <dmh@hpsgml.fc.hp.com>
Date: Mon, 19 May 1997 10:47:01 -0600
Message-Id: <199705191647.AA072630422@hpsgml.fc.hp.com>
To: w3c-sgml-wg@w3.org

> Paul Prescod writes:
> Cannot the distinction between attribute/meta and content be driven
> completly by data types? ...

I believe that it could be done by data types. I would prefer if it
was a language convention and not a specific application's convention.
I believe that data typing is a better answer to the problem (as
I understand the problem) than a new syntax.

My current vote:

 Should XML 1.0 address the attribute convention: yes

 Should XML 1.0 describe the formatting behavior for "attribute 
	content": yes
	(if no, then I do not see a need for this convention to be
	part of xml)

 Should XML 1.0 allow the attribute to be declared in the internal or
	external subset of the document type declaration: yes
	(or what ever construct is used for xml-link)

 Should XML 1.0 describe that children of attribute content are
	also attribute content: yes

Dave
 
> Dave Hollander wrote:
> > The Internet (at least the web) has a strong convention of ignoring
> > some parts of a document and processing others. Giving authors the
> > ability to classify some information as attribute/meta and some as
> > content will help tool developers deal with the received data
> > with a minimum effort and special cases.
> 
> Cannot the distinction between attribute/meta and content be driven
> completly by data types? You declare the <attribute> tag to be of type
> "metainformation block" and everything within it becomes
> metainformation.
> 
>  Paul Prescod
> 
> 
Received on Monday, 19 May 1997 12:55:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:26 UTC