Sam Weiner wrote:
>
> I'm having trouble Unmarshalling defaultPortlets.xml.
>
> The latest version of castor seems to depend on JDK1.2, is this true? Did
> 0.7.4?
Yes. It supports both versions. The castor people just have a tendency
to introduce JDK 1.2 only functionality. Hopefully this will change
shortly.
> I've been working off the 0.7.4 version in jetspeed/lib, but I haven't found
> a 0.7.4 code set for castor.
>
> I'm getting an Exception in
> org.apache.jetspeed.portal.portletmarkup.Portlets in the following function:
> /**
> * @param reader
> **/
> public static org.apache.jetspeed.portal.portletmarkup.Portlets
> unmarshal(java.io.Reader reader)
> throws org.exolab.castor.xml.MarshalException,
> org.exolab.castor.xml.ValidationException
> {
> return (org.apache.jetspeed.portal.portletmarkup.Portlets)
> Unmarshaller.unmarshal(org.apache.jetspeed.portal.portletmarkup.Portlets.cla
> ss, reader);
> } //-- org.apache.jetspeed.portal.portletmarkup.Portlets
> unmarshal(java.io.Reader)
>
> but I can't step into the castor code as it is out of sync.
I don't know what to tell you. It really is just a matter of figuring
it out based on the Exception and the markup you are using... can you
post this?
--
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN: "Open Source Java!"
"For evil to win is for good men to do nothing."
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]