I found in castor.properties, there is such an entry:
# Defines the default XML serializer to be used by castor
# The serializer must implement org.apache.xml.serialize.Serializer
org.exolab.castor.serializer=org.apache.xml.serialize.XMLSerializer
I change it to
org.exolab.castor.serializer=weblogic.apache.xml.serialize.XMLSerializer
but it doesn't work any, it throws java.lang.NoClassDefFoundError:
org/apache/xml/serialize/XMLSerializer
why it always use the org.apache.xml.serialize.XMLSerializer?
----- Original Message -----
From: "Keith Visco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 12:56 PM
Subject: Re: [castor-dev] ask a question about castor!
>
>
> Yes you can use whatever you want as a serializer, but you'll need to
> instantiate the Serializer yourself and pass it in to the Marshaller as
> a DocumentHandler or ContentHandler.
>
> --Keith
>
> > taohongjun wrote:
> >
> > I am now using castor 0.9.5, since the weblogic8.1 has involved the
> > class weblogic.apache.xml.serialize.XMLSerializer. Can I use it to
> > replace the xerces? That means I just only use weblogic.jar, don't use
> > the xerces.jar.
> >
> > Thanks.
>
> -----------------------------------------------------------
> 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