FYI - I found that the exception was being thrown due to a bug and not
because of validation.
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
I marshal like this:
marshaller = new Marshaller(res.getWriter());
marshaller.setMapping(_xml_mapping);
marshaller.marshal(aResume);
viktoR
Keith Visco wrote:
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods
I marshal like this:
marshaller = new Marshaller(res.getWriter());
marshaller.setMapping(_xml_mapping);
marshaller.marshal(aResume);
Keith Visco wrote:
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods.
--Kei
I REPOST this as text only, as suggested by Werner Guttman:
Werner Guttmann wrote:
Hi,
can you please REPOST this message as text/ascii, as this mailing does not accept HTML messages.
Thanks
Werner
--Original Message Text---
From: g r i t s e n k o
Date: Mon, 12 Apr 2004 11:11:24 -0500
Brief e
This one time, at band camp, Vadim Gritsenko said:
VG>Bruce Snyder wrote:
VG>> This one time, at band camp, Yevgeniy Tovshteyn said:
VG>>
VG>> YT>Where can I find ant task for the newest version of castor.
VG>>
VG>> AFAIK, the Ant task for the Source Generator that is available from
VG>> Bugzilla
Title: Mapping multiple XML elements into a single Array
How do I map multiple elements into an array.
E.g.
a
a
a
a
a
a
The class have a field "properties" as a String array.
Can I map all the properties element into the String array?
Thanks
Balaji
Thanks for reading this!
I'm trying to UnMarshal a collection of objects that I have successfully
Marshalled. I'm a little confused. In the getter method for the collection,
I traverse the collection, create a vector of objects, and the Marshaller
takes it and puts it into very pretty XML. I
I need to clone an object that doesn't validate. e.g. throws a
ValidationException I tried disabling validation by setting
org.exolab.castor.marshalling.validation=true before cloning it
but I still get the exception. To clone, I am using writeObject() to
write the object to an Objec
Hi Earl,
Thanks for your interest in Castor and willingness to help fix the issue
you've run across.
In order for us to better determine if your patch is the proper one, can
you open a bug report at http://bugzilla.exolab.org and attach your
patch (as a diff file), as well as a small test case
You have to get the ComplexType from the ElementDecl.
XMLType type = element.getType();
if (type.isComplexType()) {
ComplexType cType = (ComplexType)type;
Enumeration enum = cType.enumerate();
while (enum.hasMoreElements()) {
Structure st = (Structure) enum.nextElement();
Patrick Wright wrote:
>
> Hi
>
> I'm trying to understand how Castor processes namespace mappings declared
> in a mapping file. It seems the documentation is incomplete.
>
> What I would like to know is:
> 1) under what circumstances Castor will add a ns1:, ns2:, etc. on its own
>
When it f
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods.
--Keith
> g r i t s e n k o wrote:
>
> Brief error description:
>
>
>
> Castor ignores map-to xml=resume in mapping for Resume class, which
> at run time is materialized by proxy class A
Hi,
can you please REPOST this message as text/ascii, as this mailing does not accept HTML messages.
Thanks
Werner
--Original Message Text---
From: g r i t s e n k o
Date: Mon, 12 Apr 2004 11:11:24 -0500
Brief error description:
Castor ignores map-to xml=resume in
Gonzalo,
can you please post a code fragment, a mapping file, et alias so that I can simulate
your findings ? Parta from this, what version of mySQL are you using,
and what's the release number of the JDBC driver for mySQL ?
Regards
Werner
On Mon, 12 Apr 2004 17:15:51 +0200, Gonzalo Abollado
Bruce Snyder wrote:
This one time, at band camp, Yevgeniy Tovshteyn said:
YT>Where can I find ant task for the newest version of castor.
AFAIK, the Ant task for the Source Generator that is available from
Bugzilla here:
http://bugzilla.exolab.org/show_bug.cgi?id=885
has not ever been updated
I'm a newbie to Castor, and an infrequent Java Programmer, so please be
gentle in your response. I'll try to explain the problem that I've had to
the best of my abilities. I've made a change to the XMLClassDescriptorImpl.
It resolves the problem, but since I have very little idea what I'm doin
Hello,
I´m run into another ObjectModifiedException problem. In this case I was
using a double field in MySQL with out specifying the size of the field.
In some situations, I can´t really tell when, but maybe it has to do
with values like: 123123,93 maybe a rounding problem, I´m not sure...
The
Brief error description:
Castor ignores ‘map-to xml=’resume’ in mapping for
Resume
class, which at run time is materialized by proxy class – Apache OJB
does
it for lazy loading purposes – so called
dynamic proxy.
Castor attempts to marshal Resume and comes up
with xml tag
name for Resume,
18 matches
Mail list logo