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