W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: A4: XML's use of SHORTTAG?

From: Bill Smith <bill.smith@Eng.Sun.COM>
Date: Tue, 8 Oct 1996 10:25:37 -0700 (PDT)
To: w3c-sgml-wg@w3.org
Message-ID: <libSDtMail.9610081025.28818.bsmith@providence>
This is a resend of aposting that went into the void.

------------- Begin Forwarded Message -------------

To: w3c-sgml-wg@w3.org
Subject: Re: A4:  XML's use of SHORTTAG?
Cc: Message-Id: <libSDtMail.9610041613.5651.bsmith@providence>
Mime-Version: 1.0
Content-MD5: w8gPnwlF9Y5yYroFSMh0ZQ==

> The final point, on omitted attribute-value specifications, raises the
> general question of how XML systems will behave when no DTD, or a
> partial DTD, is provided -- if such omitted or partial DTDs are allowed.
> It also raises the question of providing a way for a document to signal
> that its DTD can be skipped without loss of information (e.g. because it
> has no default attribute values, or no empty elements, etc.).  These
> questions are to be discussed and decided separately.

I would argue that we not allow default attributes, etc. in the first version of 
XML. Allowing default attribute values demands that we require a DTD or some DTD 
subset for all documents that make use of this shorthand notation. 
Unfortunately, this places a burden on all XML client developers of parsing and 
interpreting DTDs - correctly.

A server-side mechanism can be employed to transform SGML document instances 
that employ default attribute values to an XML equivalent. Subsequent versions 
of XML could allow default attribute values, etc.

------------- End Forwarded Message -------------
Received on Tuesday, 8 October 1996 13:29:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC