XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] What does "optional" mean?

On Mon, Feb 27, 2012 at 1:55 AM, John Cowan <cowan@mercury.ccil.org> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS