W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2001

RE: Use of attributes

From: Clemm, Geoff <gclemm@rational.com>
Date: Thu, 9 Aug 2001 16:50:05 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B103DED47E@SUS-MA1IT01>
To: DeltaV <ietf-dav-versioning@w3.org>

   From: Julian F. Reschke [mailto:julian.reschke@greenbytes.de]

   > From: Clemm, Geoff
   >
   > Probably, the best way to go is to replace the old syntax, i.e.:
   > 
   >   <D:supported-live-property-set>
   >     <D:supported-live-property>
   >       <D:name> <D:getcontentlanguage/> </D:name>
   >     </D:supported-live-property>
   >     <D:supported-live-property>
   >       <D:name> <X:quota/> </D:name>
   >   </supported-live-property-set>

   Why do we need <D:name>? Wouldn't

   <D:supported-live-property-set>
	<D:supported-live-property>
	   <D:getcontentlanguage/>
	</D:supported-live-property>
	<D:supported-live-property>
	   <X:quota/>
	</D:supported-live-property>
   </D:supported-live-property-set>

This would make it unsafe to define extensions to the
D:supported-live-property content, because you would risk
colliding with the name of a live property.  The D:name
intermediate node ensures that there is no such collision.

Cheers,
Geoff
Received on Thursday, 9 August 2001 16:41:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:42 GMT