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
HI

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">

thanks
Philip

Page built 03:15:43 | v.6a0a3e16