Impossible to distinguish? How so? I thought that was why each had
their own namespace and prefix? IE:
<main1:tag>
<common:notation/>
</main1:tag>
I believe the comment could be correct as far as them having the same
namespace, but... if I specify multiple xmlns in my schema, couldn't
the common libraries be in a separate package from the main1 and main2
libraries?
Malachi
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Tuesday, October 28, 2003 7:48 AM
To: users_at_jaxb.dev.java.net
> What solutions are there to this problem?
I'm afraid there's none. I personally think I've been hearing this
request for a number of times, so hopefully the spec people would pick
this one up.
The difficulty in doing this is that as far as the W3C XML Schema spec
is concerned, it is impossible to distinguish things defined in
mainSchema1.xsd from those defined in common.xsd. So the spec cannot
describe such a behavior in a nice way.
RELAX NG support of XJC does support this package separation, if you are
interested.
regards,
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net