Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unique Particle Attribution

843834Jun 27 2005
Im am getting the following issue when I try validate my XML against the schema. This occurs because I use the same filed in a number of different section. The field is defined once at the top of the schema
<xs:element name="Tin_cost" type="xs:string"/>
It is used 4 times in the schema though as follows
<xs:element ref="Tin_cost" minOccurs="0"/>

Could anyone help me with this issue. How could I resolve this?
Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2005
Added on Jun 27 2005
0 comments
103 views