Re: [xmlschema-dev] <none>

Hi Eamon,

> I get the error that the schema does not support the element c. If I
> remove the <c> then the validater complains that the data is
> incomplete. I just want to any data that I please, the does not need
> to be validated after <b> Can anyone what I am doing wrong?

I suspect that this is a bug in your schema processor rather than
anything wrong with your schema itself. I tried your schema and
instance with both Xerces and XSV and it worked just fine.

By the way, if you want to permit the Letters element to *not* hold a
third element in some circumstances, you should make sure that the
xs:any element has a minOccurs attribute of 0. (And if you want to
permit more than one element of any kind after the a and b elements,
you should set the maxOccurs attribute on the xs:any to whatever the
maximum is, or unbounded.)

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Thursday, 14 February 2002 11:42:13 UTC