users@jaxb.java.net

Generated runtime depends on XJC jar in version 1.0.3

From: Gary Gregory <ggregory_at_seagullsoftware.com>
Date: Mon, 28 Jun 2004 23:32:23 -0400

Hello,

I am trying to migrate to JAXB version 1.0.3 included in JWSPD 1.4. The
following does not seem right.

I've generated code that contains:

<snip>
            UnmarshallerHandler handler = new
InterningUnmarshallerHandler(
                createUnmarshallerHandler(new DOMLocator(scanner)));
<snip>

This code is generated in my JAXB shared runtime, which for us is in
com.seagullsw.toolbox.xml.jaxb.impl.runtime

Our build's JAXB code gen works fine but the compilation no longer
works. The following class is undefined: InterningUnmarshallerHandler.
After some digging I found InterningUnmarshallerHandler packaged in
jwsdp 1.4 ./jaxb/lib/jaxb-xjc.jar. We've never included jaxb-xjc.jar on
our compile path before.

This seems like a bug. Generated code should not rely on the compiler
jar. Should it? If this is normal, it means we must deliver jaxb-xjc.jar
with our runtime, which does not feel right.

Please advise.

Thank you,
Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net