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