Attribute schema usage constraints ignored
Status: Beta
Brought to you by:
bdumon
Pollo 0.4 on Win2K/JDK1.4.2
Attribute usage (required, optional, prohibited)
defined in XML Schema are ignored when editing XML
documents.
For instance if a Schema defines an element with three
attributes, each with different usage contraints:
Pollo processes (display and edition) them identically.
<xs:element name="MyElement">
<xs:complexType>
<xs:attribute name="name" type="xs:string"
use="required"/>
<xs:attribute name="ext-name" type="xs:string"
use="optional"/>
<xs:attribute name="hidden" type="xs:string"
use="prohibited"/>
</xs:complexType>
</xs:element>