RE: Use of attributes

   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 UTC