[Simple-support] Attribute field for "default" field
Brought to you by:
niallg
|
From: A K <ak....@gm...> - 2011-09-22 06:04:31
|
Hi, I have the below declaration for the attrubute. * <xs:attribute type="xs:int" use="optional" default="50000"name="tagname1"/> <xs:attribute type="xs:int" use="optional" default="1" name="tagname2"/>* *xs:attribute type="xs:boolean" use="optional" default="true"name="tagname3" * The way we provide annotations is as below: @Attribute(required=false) private *Integer tagname1*; @Attribute(required=false) private *Integer tagname2*; @Attribute(required=false) private Boolean *tagname3*; Does *default="50000" has any significance? is there any field in attribute to provide "default" data, like we give "required=false" for "use=optional"? * |