Re: Restriction of complex types by changing minOccurs

Jeni Tennison wrote:

> 
> The note clarifies the matter - the Container element's type
> definition in RestrictedType must be an explicit restriction of its
> type in BaseType. They're anonymous types, so there's no explicit
> restriction, so the schema component constraint isn't satisfied, so
> the schema isn't valid.


This would limit the recursion to the top level of complex type 
definitions, which seems reasonable...

There is still a bug, but on xerces-j-2, then! (what's fun with hunting 
bugs in schema processors is that for any example you are almost certain 
to find a bug in one of the processors ;=) ... ).

Thanks for the lesson,

Eric
-- 
Rendez-vous à Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------

Received on Tuesday, 13 November 2001 09:56:22 UTC