users@jaxb.java.net

Re: Strange error

From: Han Ming Ong <hanming_at_mac.com>
Date: Tue, 11 Mar 2003 12:10:01 -0800

XML parser classpath problem. This seems to be an FAQ that SUN can put
up.
Search the archive too.

Han Ming

On Tuesday, March 11, 2003, at 11:56 AM, Steven Cummings wrote:

> Hello all,
>
> I am not new to XML Schema, but I am new to JAXB. I'm trying to run
> xjc on a schema via the Ant-task, and getting a strange error. I know
> my schema is well-formed and valid as it verifies inside XMLSpy and
> can be processed by Castor's source generator. So does anybody have
> any idea of why JAXB's xjc gives me the following inexplicable error?
>
> [echo] Compiling the schema...
> [xjc] Compiling file:/my/path/profile.xsd
> [xjc] org.xml.sax.SAXParseException: Unexpected
> </xs:restriction> appears at line 17 column 22
> [xjc] at
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.unexpectedX(NGCCRuntime.
> java:495)
> ...
> [more traceback left out]
>
> Thanks.
>
> /S
>
> --
> Steven Cummings
> Columbia, MO
> Email: cummingscs_at_netscape.net
> AIM: cummingscs
> ICQ: 3330114
> MSN: cscummings_at_hotmail.com
>
> Hi! I'm a .signature virus! copy me into your .signature file to help
> me spread!
>
>
> __________________________________________________________________
> The NEW Netscape 7.0 browser is now available. Upgrade now!
> http://channels.netscape.com/ns/browsers/download.jsp
>
> Get your own FREE, personal Netscape Mail account today at
> http://webmail.netscape.com/