Re: [xml-dev] What does "optional" mean?

From
Mukul Gandhi <>
To
John Cowan <>
Date
2012-02-27T10:15:19Z
ID
<CABuuzNPb6Yj_cZ_24MXN3HuC2vOu=e7ngrC3c89HRqp=>
Thread
Re: [xml-dev] What does "optional" mean?
On Mon, Feb 27, 2012 at 1:55 AM, John Cowan <> wrote:
> That is indeed an XSD 1.0 limitation.  It does not apply to RNG, where
> representing a choice between an element and an attribute is trivial.
> I don't know if it applies to XSD 1.1 or not.

I think, with XSD 1.1 the choice between an element and an attribute
is now possible (you're right, that with XSD 1.0 this wasn't
possible).

> There is a more general point: it's not always possible in any schema
> language to represent the exact specification, and applications may need
> to do further validation of the input.

I agree.



-- 
Regards,
Mukul Gandhi