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] Perplexing Invalid Schema

On Tue, Sep 11, 2012 at 11:44 AM, Michael Kay <mike@saxonica.com> wrote:
>
> Saxon is rejecting the schema because type X is not a restriction of type
> Any; it is derived from Any, but some of the derivation steps involve
> Extension.
...
>
> 1 If B and D are not the same type definition, then the {derivation method}
> of D must not be in the subset.
>
> But the subset includes "extension", so derivation by extension isn't
> allowed; therefore it isn't a valid restriction.
>

Thanks for a great explanation.
I guess I should have been using Saxon when I started this project.  :-)

So, is there a way to group complexTypes similar to substitutionGroups
for elements?  Or is there some other way that people use to model an
object-oriented approach using schemas?

Regards,
Tim


-- 
============================================
Timothy Cook, MSc           +55 21 94711995
MLHIM http://www.mlhim.org
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
Academic.Edu Profile: http://uff.academia.edu/TimothyCook


[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