Class collision

When I run XSD, it is putting the import for the current class into the .JAVA code which causes a compile error e.g. in the CtBar.java file:

package foo;

import foo.CtBar

public class CtBar ...

Is there some way of stopping this?

Message was edited by:

RandyS

[303 byte] By [RandySa] at [2007-11-26 13:13:14]
# 1
What's this "XSD" you are running? In the XML context I think of XSD as being an abbreviation for XML Schema Definition, and so does Google. But in your case it looks like something for generating Java code? Clarification would help.
DrClapa at 2007-7-7 17:31:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I meant xjc. Had a long tiring day when I posted it.
RandySa at 2007-7-7 17:31:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Apparently it is a bug in the version I was using (2.0-b26-ea3). I do not see this problem in 2.0.3-b24-fcs.
RandySa at 2007-7-7 17:31:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...