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

RE: SD5 - Namespaces

From: Andrew Layman <andrewl@microsoft.com>
Date: Wed, 21 May 1997 13:58:48 -0700
Message-ID: <7BB61B44F197D011892800805FD4F792A4BFB0@RED-03-MSG.dns.microsoft.com>
To: "'Steven J. DeRose'" <sjd@eps.inso.com>, w3c-sgml-wg@w3.org
Agreed.  People need multiple concurrent namespaces so that
attributes/subelements from several different namespaces can all be used
within an element, simultaneously, without modifying the element's
content model in the original DTD. For example, when applying a digital
signature to an element,

	<name>
		William Shakespeare
		<DSIG>

<digest>314159265358979323846<type>ABC</type></digest>
			<who>Andrew</who><when>19970521</when></DSIG>
	</name>


we don't want to have to track down the DTD in which name was defined,
then somehow modify it to add DSIG to its content model. We just want to
somehow declare "Within this element, I will be using some subelements
from the w3c.dsig schema, which you can recognize by the namespace
identifier 'w3c'."

	<name>
		William Shakespeare
		<w3c:DSIG>

<digest>314159265358979323846<type>ABC</type></digest>

<who>Andrew</who><when>19970521</when></w3c:DSIG>
	</name>
Received on Wednesday, 21 May 1997 17:00:21 UTC

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