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

Reply via email to