users@jaxb.java.net

Re: JAXB on the web is Unable to parse included schema

From: Ganga Sah <ganga_sah_at_yahoo.com>
Date: Tue, 12 Aug 2003 09:53:29 -0700 (PDT)

I am using
JAXB-on-the-web(http://soapinterop.java.sun.com/xjc)
and get following error, when I "compile" using
"schema file" value
"C:\AX\ActiveExchange\ax-QA\b2btest\dev\tests\datamodel\testplans2.xsd",
which includes simpleTypes.xsd(using <xsd:include
schemaLocation="simpleTypes.xsd"/>) from the same
directory as the main schema(testplans2.xsd). It seems
xjc on web doesn't find included schema even if it is
in the same directory as the main schema. This file
compiles fine using command line xjc.
<ErrorFromXjcOnWeb>

Unable to compile the schema

See the following error messages for details:

[ERROR] Unable to parse "simpleTypes.xsd"
  line 23 of
C:\AX\ActiveExchange\ax-QA\b2btest\dev\tests\datamodel\testplans2.xsd

</ErrorFromXjcOnWeb>

thx
ganga

--- Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
wrote:
>
> > [ERROR] Unable to parse
> "../datamodel/simpleTypes.xsd"
> > line 23 of
> >
>
C:\AX\ActiveExchange\ax-QA\b2btest\dev\tests\datamodel\testplans.xsd
>
> Given the error message, I don't think you used
> JAXB-on-the-web. Aren't
> you compiling your files locally?
>
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems
> kohsuke.kawaguchi_at_sun.com
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail:
> users-help_at_jaxb.dev.java.net
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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