File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Unique Particle Attribution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Unique Particle Attribution" Watch "Unique Particle Attribution" New topic

Unique Particle Attribution

Rachel Garnshaw

Joined: Jun 27, 2005
Posts: 1
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
I agree. Here's the link:
subject: Unique Particle Attribution
It's not a secret anymore!