users@jaxb.java.net

1.0.1 generated code does not compile (extends generated.Foo)

From: Gary Gregory <ggregory_at_seagullsw.com>
Date: Tue, 08 Jul 2003 14:36:04 -0400

Hello,

JAXB 101 generates code that does not compile of the form:

public interface DomainCredentials
    extends generated.Credentials
...

where "generated" is not a package/namespace I have specified. Saving the
XSDs in XMLSpy 5.4 does not report any errors and neither does XJC.

Details:

In the attached, I use jaxb/src/server/backend/cics/config/build.xml to run
on server/config/connectors/cics-connectors.cfg.

I am sure I can tweak my XSDs to avoid the errors but I do not think XJC
should complete without any errors or warnings:

C:\cvs-store\transidiom\deve\Java\Build\jaxb\src\server\backend\cics\config>
ant
Buildfile: build.xml

all:
   [delete] Deleting 6 files from
C:\cvs-store\transidiom\deve\Java\Source\com\seagullsw\appinterface\server\b
ackend\bind

info:
     [echo] Building with Apache Ant version 1.5.3 compiled on April 16 2003
     [echo] Ant is using Java version 1.3

clean:

clean.java.bind.dir:
   [delete] Deleting 24 files from
C:\cvs-store\transidiom\deve\Java\Source\com\seagullsw\appinterface\server\b
ackend\cics\bind

xjc-binding:
      [xjc] Compiling
file:/C:/cvs-store/transidiom/deve/Java/Root/server/config/connectors/cics-c
onnector.xsd
      [xjc] Writing output to C:\cvs-store\transidiom\deve\Java\Source

BUILD SUCCESSFUL
Total time: 5 seconds
Tue 07/08/2003 11:22:26.49

Thanks,
Gary