users@jaxb.java.net

Re: Unordered elements (<all>) and type extension

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 10 Nov 2004 11:27:37 -0800

It's impossible to have the type of B derives from the type of A, while
preserving the exact constraints you are proposing.

Lee Breisacher wrote:
> So, any suggestions?

        1. Use RELAX NG
        2. Just use the schema you wrote in the first place
           (where you got three unrelated complex types)

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net