Nick,

Thanks, I will try to have a look and see if I can get a build that works.

Brian

-----Original Message-----
From: Nick Stuart [mailto:[EMAIL PROTECTED]
Sent: 14 November 2003 15:17
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Castor and Tomcat 4 - Exerces work around
causes oth er problems


Hi Brian, I had this problem as well, and I think the only way I got
around was to build castor from the CVS tree. I remember reading
somewhere that this was a Xerces error with their newer vresion, but
that a work around was put into castor for it.

-Nick

On Fri, 2003-11-14 at 07:12, Brian Dillon (ext. 944) wrote:
> Hi,
> 
> I sent this arround before but I didn't hear anything back,
> 
> 
> I am using castor 0.9.5.2 and Tomcat 4. I have encountered the issue
> with
> xerces giving;
> 
>       Exception in thread "main" java.lang.IllegalArgumentException:
> The
> prefix 'xml' is reserved (XML 1.0 Specification) and cannot be declared.
> 
> However if I put in the work around;
> 
>       org.exolab.castor.parser.namespaces=true 
> 
> in the castor.properties file I hit another problem which is;
> 
> unable to find FieldDescriptor for 'stereo' in ClassDescriptor of
> BusinessEntity
> 
> Where Car extends BusinessEntity but we try to unpack the xml as a
> business
> entity. Previoulsy we used to set the variable;
> 
>         unmar.setIgnoreExtraElements(true);   
> 
> But now with the Exerces workaround the has come back,
> 
> Any ideas ?
> 
> Thanks,
> 
> Brian
> 
> 
>       
> 
> 
> **********************************************************************
> The information contained in this e-mail is confidential, may be
> privileged
> and is intended only for the user of the recipient named above.  If you
> are
> not the intended recipient or a representative of the intended
> recipient,
> you have received this e-mail in error and must not copy, use or
> disclose
> the contents of this e-mail to anybody else.  If you have received this
> e-mail in error, please notify the sender immediately by return e-mail
> and
> permanently delete the copy you received.  This e-mail has been swept
> for
> computer viruses.  However, you should carry out your own virus checks. 
> Registered in Ireland, No. 205721.  http://www.FINEOS.com
> **********************************************************************
> 
> ----------------------------------------------------------- 
> 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
-- 
Vortechnics Inc.
200 Enterprise Drive
Scarborough, Maine 04074
Phone: 207-885-9830 x281

----------------------------------------------------------- 
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

Reply via email to