Marcus Walls <marcus.walls_at_ASPECTIVE.COM> wrote:
> I'm no schema expert - I'm only using it "under sufference"
> because JAXB uses it to achieve what I need.
Sounds like you might be interested in discovering the wonder of RELAX
NG :-)
It does allow you to define interfaces and have JAXB classes implement
it. And RELAX NG is much easier/better than W3C XML Schema.
Check out docs/vendorSchemaLangs.html and samples/relaxng
regards,
--
Kohsuke Kawaguchi 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com