ref + default -> ok with attributes, not with elements

This is permitted:

   <attribute ref="color" default="red"/>

But this is not permitted:

   <element ref="altitude" default="12000"/>

That is, an attribute can have a ref and a default, but with an element
if it has a ref then it cannot have a default.

Isn't this a bit inconsistent?  /Roger

Received on Friday, 6 July 2001 08:36:59 UTC