users@jaxb.java.net

Re: include|import> problems again!

From: Mikael Bourges-Sevenier <mikael_at_SEVENIER.COM>
Date: Thu, 01 May 2003 09:34:11 -0700

Dear Mark,

I took me a couple of hours to figure out what was going on, you were right.
I was calling xjc from a directory with a blank in the full path. I moved my
directory to a location with no blank and it works!

This is really a stupid time-consuming bug. I hope SUN will fix that soon!

Thanks again,

Mike

> -----Original Message-----
> From: Discussion list for the Java Architecture for XML
> Binding [mailto:JAXB-INTEREST_at_JAVA.SUN.COM] On Behalf Of Shelton, Mark
> Sent: Thursday, May 01, 2003 5:26 AM
> To: JAXB-INTEREST_at_JAVA.SUN.COM
> Subject: Re: include|import> problems again!
>
>
> xjc currently does not support blanks in the directory names.
> This is true even if you use a relative path that does not
> have blanks. If there is blanks in the full path, it will
> not find the included files.
>
> Mark Shelton
> Nielsen Media Research
> -----Original Message-----
> From: Mikael Bourges-Sevenier [mailto:mikael_at_SEVENIER.COM]
> Sent: Wednesday, April 30, 2003 7:05 PM
> To: JAXB-INTEREST_at_JAVA.SUN.COM
> Subject: <xs:include|import> problems again!
>
>
> Dear All,
>
> I have a schema that defines some types and another that
> includes it. They are in the same directory in which I also run xjc.
>
> Like many people on this list apparently, I have the error
> message "Failed to read included schema document ...".
>
> As it is the same error whether I use <xs:include> or
> <xs:import>, as the schemas are valid using XMLSpy or other
> validators, as other code generators can generate classes....
> sounds like a bug?
>
> But as it seems some people had this feature working. Could
> someone post an example?
>
> Kind regards,
>
> Mike
>
>