Hi Bill,
I commented in the bug report, but just in case anyone else is waiting
on this issue as well, I've checked in a patch to CVS for CASTOR-1216.
Please give that a try!
Cheers,
--Keith
Bill Leng wrote:
Keith,
Thanks for your response. It seems to me it is not the same as 1153. I
just checked out the head, build castor, tried again. The generated java
source files still do not compile. If you can generate java sources from
the xsd file attached to castor-1216 and java source files compile, I
would like you to email me the generated java source files and I will
try to figured what is wrong in my environment.
thanks
Bill
Keith Visco wrote:
Hi Bill,
If it's the same as 1153 then hopefully it'll be fixed. I'm working on
the fix as we speak.
--Keith
Bill Leng wrote:
Hi Keith,
I entered the bug to the source generator (CASTOR-1216). I am
wondering if you are able to reproduce this bug. BTW, is this bug
going to be fixed in the upcoming 1.0?
thanks
Bill
Keith Visco wrote:
Castor has an AnyNode object which you can make use of. Basically
just mark any field as a java.lang.Object. Castor will unmarshal the
field as an org.exolab.castor.types.AnyNode instance.
--Keith
Alex Milowski wrote:
-----Original Message-----
From: Stephen Bash [mailto:[EMAIL PROTECTED]
Sent: Thu 10/6/2005 6:13 AM
To: user@castor.codehaus.org
Subject: Re: [castor-user] JDOM/DOM Node as Field?
Alex-
I did some quick tests this morning, and using a
CustomFieldHandler
(http://castor.codehaus.org/xml-fieldhandlers.html) I was able to
"marshal" and "unmarshal" a DOM node, but as has been discussed on
the list before, Castor performs entity replacement (lots of >
<) so it doesn't look exactly how one would expect. I haven't
been following the arbitrary XML discussion very closely, but that
may be the larger challenge in this case.
That's not quite what I'm looking for but that is encouraging.
I really need to have markup like:
<x:description xmlns="http://www.w3.org/1999/xhtml">
<p>A paragraph with a <a href="http://www.w3.org/">link</a>.</p>
</x:description>
unmarshal into a DOM Element whose name is [x:]description and have
the element and text children be elements or text nodes
respectively.
Basically, I'm trying tell castor that I just want a subtree of XML
(no data binding) for certain elements because I want to manipulate
them directly as XML.
--Alex Milowski
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
------------------------------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message
to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------