Keith Visco wrote:
>
> Hi Jim,
>
> Yes you need to change the input XML, which must contain the "foo"
> reference:
>
> It should look something like the following:
>
>
> hello world
>
>
That should read:
hello world
I do have a working example of this
Hi, Keith,
I just downloaded 0.9.5.3 RC1 (specifically castor-0.9.5.3-xml.jar). The
version numbers in all the generated server classes are updated. There
were changes in generated classes involving enum constants. But I did
not see any change involving xsi:type (in my case the "Record",
"RecordD
The message contains MIME-encoded graphics and has been sent as a binary attachment.
<>
Hi Jim,
Yes you need to change the input XML, which must contain the "foo"
reference:
It should look something like the following:
hello world
When you marshal from Castor you'll see that Castor creates the XML like
this.
Currently this is the only way to get Castor to automat
Keith,
Thanks again for your suggestions. I tried your ideas-
and have found:
1. I listed the identity=id in the element of
Foo - and the parent field under Bar as yet I still do
not get the expected result- just a null pointer when
referencing the parent fields.
Does the input xml have to chang
Could someone help me how to install castor step by
step? I have read some of the old archive email, but i
still don't know how to install it. How do i put the
jar into classpath. And what is class path? is it
like path in unix?
Thanks
__
Do you Yahoo!?
Yahoo!
Hi Scott,
Have you tried 0.9.5.3 RC1?
An xsi:type bug affecting root elements was fixed in that release and it
may solve the problem you face.
Thanks,
--Keith
"Liu, Scott" wrote:
>
> Hi, all,
>
> I am using castor framework in a web service project. I have built a
> prototype involving Axi
Hi, all,
I am using castor framework in a web service project. I have built a
prototype involving Axis, castor and .NET, which worked pretty well.
Thanks to all, who has contributed to the success of the castor project.
I have moved from prototyping to the actual project recently and
generated
Hi Keith, Thanks for the prompt response.
Actually, I currently am using the
unmarshaller.setIgnoreExtraElements(true);
This works fine, for instance, when I add a tag at any level to my
XML. There are no problems
with the unmarshalling.
It does not work ONLY when, for instance, is mapp
Keith-
It was the latter. I was trying to unmarshal a test doc.
Ok. I created the equivalent instance to marshal. Received the same
error!
Should I log a bug?
Thanks,
Brent
---
There was 1 error:
1) testMarshalling(FoodMappingTest)java.lang.NoClassDefFoundError:
Saltyfood (wrong
Hi Jeremy
Some upgrades were included in the 0.9.5.3 RC.
When using default introspection, you should notice these changes right
away, as both the key and value are now output by default.
When using a mapping file you need to specify this by using Castor's
built-in wrapper:
Try the following
On Wednesday 18 February 2004 19:49, Keith Visco wrote:
> Can you report this via bugzilla, looks a problem in the validator.
Ok, will do that tomorrow. Just wanted to hear other opinions before...
Henning
---
If you wish to unsubscribe f
All,
I posted this originally on 09/10/2003 (
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15104.html)
but never got any responses. Hoping for a response this time.
Thanks in Advance
Vamsi
I have this xsd.
http://www.w3.org/2001/XMLSchema";
targetNamespace = "http://www
Hi Henning,
Can you report this via bugzilla, looks a problem in the validator.
http://bugzilla.exolab.org
Thanks,
--Keith
Henning Moll wrote:
>
> Hi!
>
> In my opinion, the following issue is a bug. Do you agree?
> Here is a minimal example:
>
> The following schema is used by the Source
Just wrap the OutputStream in an OutputStreamWriter and pass the writer
to the marshal method.
--Keith
Antonio Carlos da Graça Mota Durão d e Souza wrote:
>
> Hi all,
>
> I'm trying to marshall a class into the OutputStream's
> HttpServletResponse. Is this possible?
>
> Thanx,
> by AC
>
Title: Message
(sorry if this is a duplicate- the
last send apparently failed)
Hello-
I may have found a
potential bug. When unmarshalling the test XML doc below, I
receive the following error:
1)
testMapping(FoodMappingTest)java.lang.NoClassDefFoundError: Saltyfood (wrong
name: Sal
InvocationTargetException
I'm getting this error when unmarshalling, but there really doesn't seem to be a
problem, i.e. unmarshalling apprently continues successfully.
I strongly suspect that Castor or Xerces has a static initialization problem (read
below), but I'm totally new to Castor, so p
Thanks for the info.
~ Inder
>>-Original Message-
>>From: Keith Visco [mailto:[EMAIL PROTECTED]
>>Sent: Sunday, February 15, 2004 5:23 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [castor-dev] Pooling marshaller/unmarshaller objects
>>
>>
>>
>>
>>For some performance improving tips, see
Is there any way to automatically generate a static unmarshal method that
takes a 'org.w3c.dom.Node' a parameter?
The Unmarshaller class has such a method so it would be nice if the
generated classes supported this.
I have personally extendend the
org.exolab.castor.builder.SourceFactory.createUnm
Hi!
In my opinion, the following issue is a bug. Do you agree?
Here is a minimal example:
The following schema is used by the SourceGenerator without additional
mapping. That works fine. Read on after the schema...
snip example.xsd-
Hello all,
I've a similar problem as described by Jim which I tried to solve by
renaming a XML attribute using a binding file.
Hoever I had no success. I read the link below, but couldn't manage the
attributeBinding.
It would be great, if somebody has an example.
Thanks a lot,
Achim
-Origin
Hi all,
I'm trying to marshall a class into the OutputStream's
HttpServletResponse. Is this possible?
Thanx,
by AC
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe ca
Hello,
I am using Castor 0.9.5.2. I have a problem when I try to use wrapper
classes&Fieldhandlers and container="true" feature together. I got an
StackOverFlow exception whenever I used it, so I had to set
container="false" always. Is such an exception known? And is there a
solution for this st
23 matches
Mail list logo