Thanks, Michael for the answer to my question. It helps me.

On Fri, May 23, 2008 at 11:17 PM, Michael Glavassevich
<[EMAIL PROTECTED]> wrote:
> Hi Mukul,
>
> Your schema is invalid. It violates the "Unique Particle Attribution" [1]
> constraint:
>
> [Error] test.xsd:12:37: cos-nonambig: x and x (or elements from their
> substitution group) violate "Unique Particle Attribution". During validation
> against this schema, ambiguity would be created for those two particles.
>
> You need to turn on the schema full checking feature [2] with the -f option
> in order for this constraint to be checked. It's disabled by default.
>
> You can't write a legal schema document to achieve what you want with XML
> Schema 1.0 but I imagine you could with XML Schema 1.1 by using assertions
> [3].
>
> Thanks.
>
> [1] http://www.w3.org/TR/xmlschema-1/#cos-nonambig
> [2]
> http://xerces.apache.org/xerces2-j/features.html#validation.schema-full-checking
> [3] http://www.w3.org/TR/xmlschema11-1/#cAssertions
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: [EMAIL PROTECTED]
> E-mail: [EMAIL PROTECTED]


-- 
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to