Richard, I have seen this same behaviour when generating source from within an appserver - it worked from a command prompt and not from within the servlet context. What I've found is that in my case it was a classpath problem - make sure that whatever xml parser is being used in the command line is the same one that is being used from within JBuilder. I fiddled with my appserver's classpath and now it's working fine -
-mm -----Original Message----- From: Richard E. Horan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 12:24 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] castor and jbuilder 7.0 DId that. I have the xsd in my working path and i also have it in my source directory. Removing from the xsd from either place doesn't make any difference. Nobody out there in castor land uses JBuilder and Castor together? Here is the xsd. I commented out the include. <?xml version = "1.0" encoding = "UTF-8"?> <!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2001/XMLSchema--> <xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema"> <!-- <xsd:include schemaLocation = "OI.xsd"/> --> <xsd:element name="junk" type="xsd:string"/> <xsd:complexType name="Rick"> <xsd:sequence> <xsd:element ref = "junk"/> </xsd:sequence> </xsd:complexType> </xsd:schema> "Lopez, William" To: [EMAIL PROTECTED] <william.lope cc: (bcc: Richard E. Horan/Telcordia) [EMAIL PROTECTED]> Subject: Re: [castor-dev] castor and jbuilder 7.0 11/27/2002 12:41 PM Please respond to castor-dev Just a hunch but go into your project settings and make sure that the directory that houses the xsd is "mapped" so JBuilder knows where to pull it from...if it works outside of JB then it has to be an environment issue for JB. -----Original Message----- From: Richard E. Horan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 11:14 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] castor and jbuilder 7.0 Sorry if this isn't enough information. I am stating as concise as possible. A simple xsd with no schema include statements will generate fine. as soon as i put in a schema include, like <xsd:include schemaLocation = "OI.xsd"/> the classes will not generate. However if I don't use JBuilder but use castor directly the classes build fine. JBuilder gives no error messages. Erik.Ostermueller@ alltel.com To: [EMAIL PROTECTED] cc: (bcc: Richard E. Horan/Telcordia) 11/27/2002 11:10 Subject: Re: [castor-dev] castor and jbuilder 7.0 AM Please respond to castor-dev Richard With a little more information, we could do a better job helping out :-). --Erik O > -----Original Message----- > From: Richard E. Horan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 27, 2002 10:03 AM > To: [EMAIL PROTECTED] > Subject: [castor-dev] castor and jbuilder 7.0 > > > Hi simple xsds work fine in jbuilder using castor, > however when I have an > include statement in the xsd no classes are generated. > I realize this is a > JBuilder problem. But does anyone have any idea what is > going on? a > solution? I looked throughout the jbuilder newsgroups > and all I have been > able to find are posts that state the same problem but > no resolutions. > > Thanx in advance. > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev