Thread: required vs optional attributes

Started: 2013-04-09 18:39:23
Last activity: 2013-04-09 18:39:23
Topics: Web Services
Philip Crotwell
2013-04-09 18:39:23

In some places attributes are explicitly marked as required or optional,
while in others they are not. It would be nice since optional is the
default for attributes in xschema if either use="optional" was always used
or never used. Otherwise it is a bit confusing to read.

For example:
<xs:attribute name="resourceId" type="xs:string" use="optional">
<xs:attribute name="resourceId" type="xs:string">


Page built 13:22:36 | v.b'ea7a92