[Home] [By Thread] [By Date] [Recent Entries]
On Tue, Sep 11, 2012 at 11:44 AM, Michael Kay <mike@s...> 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] |

Cart



