Default values for block and final

The Schema and DTD for Schema specify a default value of "" for block and final (but not in all uses) which will interfere with appropriate processing of blockDefault and finalDefault.  No default
should be provided so that not providing a block or final attribute can be distinguished from providing a value of "" which would indicate blocking nothing (anti #all)

<xsd:schema ... blockDefault="#all" finalDefault="#all">
	<!--  should be blocked and final  -->
	<xsd:complexType name="blockedAndFinal"/>
	<!--  should block nothing   -->
	<xsd:complexType name="unblockedAndNotFinal" block="" final=""/>
</xsd:schema>

These two complex types should have substantially different behaviors, however with the current DTD for Schema, they are indistinguishable.

Received on Monday, 11 December 2000 20:06:10 UTC