Hi all,
i am having trouble with some dependent objects of a subclass (both
java & castor inheritance). The super class (Content) works fine, but
its subclass (Folder) never loads any dependent objects, if only loads
the class & super class attributes... any ideas ? btw it does write the
depend
Hi!
I just started to use Castor today. Classes generated from the XML
schema file look great. But all attributes are defined using their
own "classes" as their data types. Is there any way that I can tell
SourceGenerator to use String as the data type for all attributes?
--
cheers,
Qiao Lihen
I have my marshalling configured to turn indenting on to produce
easier-to-read-in-a-plain-text-editor xml (mostly for debugging purposes):
org.exolab.castor.indent=true
But I'm marshalling strings that contain embedded newlines:
"multiline\nstring".
In this environment, the newline gets swall
I'd also like to mention that one of my colleagues at Intalio is working
on such a tool to create an XML Schema from Java classes using Castor's
introspector + descriptors. He's doing this for an internal project, but
he mentioned to me that he'll be contributing it back to the project
when he's f
Hey, I'm researching castor for a project my company is developing. First
off, I think the Source Generator is a great idea and should save allot of
development time for my company. Any way, I downloaded the Full CVS
snapshot and ran the test.sh located in /src/examples/SourceGenerator.
Castor ge
Actually Castor has a tool to create an XML schema from an XML file. It
is not perfect of course but it does a very good job in most of the
cases.
Please take a look at
org.exolab.castor.xml.schema.util.XMLInstance2Schema and let us know how
it works for you.
Thanks,
Arnaud
> -Original Messa
>> I recommend opening up an enhancement request for this..
Done. Bugzilla Bug 1210.
Thank you Keith.
-john:m
-Original Message-
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev]
It's definately bee
It's definately been asked before, and I think it's a good idea. That's
why I created the transient attribute for bind-xml a long time ago.
I can certainly add the changes for the sql element, but this would be
better suited for someone from the JDO team since they are more familiar
with the JDO
Hi,
Not having this requirement, I haven't looked too deeply into it, but I
know that there are tools for inferring an XSD from several XML files.
Since you can marshal the JavaBeans into XML from Castor, you could use
this to create some sample data and then use an inference tool.
One tool which
thanks keith, sorry about asking an xsd question here. Believe it or not
I think I know castor better than I do xsd's. Up until now I was completely
new to xsd's.
dean
Keith Visco wrote:
Hi Dean,
You need to import your other schema into the one you're trying to
generate the code for as
Rhett,
Well, that's a lot easier, and far less error prone, than the way I'm doing
it today. Thanks for the creative solution.
-john:m
-Original Message-
From: Rhett Sutphin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-de
> Jeremy Nix wrote:
>
> I have a few objects that contain date variables that I wish to be
> marshalled out to prospective XML documents. Is it possible to set
> the date format that the marshalling process should use? I realize
> there are other options such as creating formatted accessors i
On Thursday, February 13, 2003, at 01:08 PM, John McDonald wrote:
All,
Are there any plans for implementation of this functionality? I'm
getting
weary having to manage two, 25,000 line, mappings files. One for my
incoming
XML and one for the database. It would be _really_ nice if I could
simpl
Hi Dean,
You need to import your other schema into the one you're trying to
generate the code for as such:
http://a-standard-protocol";
schemaLocation="..."/>
--Keith
Dean Hiller wrote:
>
> Sorry if this is a stupid question for those more knowledgable about
> schemas
>
> I have a schem
Hi,
Is there an easy way to generate a schema XSD from either a castor
mapping file or set of JavaBeans?
Thanks!
Darren
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe cast
All,
Are there any plans for implementation of this functionality? I'm getting
weary having to manage two, 25,000 line, mappings files. One for my incoming
XML and one for the database. It would be _really_ nice if I could simply
mark a sql field as transient and castor would simply ignore reading
This is an issue with your database server
exceeding the maximum allowed number of processes to service user
requests. To increase this parameter, you'll have to edit your init.ora or
spfile and increase the processes parameter. This will require a restart
of the database.
- Origina
What do I have to set in oracle to get around this error?
Hallo Mickael,
after searching Bugzilla I found that you are assigned to bug 1045.
Can you please tell me about the status of the fix?
As we need this for our application, I can contribute to the fix if you want me to.
Regards
Ralf
---
I unmarshall and object that was generated using the type method using
Unmarshaller u = new Unmarshaller((Class)null);
Object o = u.unmarshal(Reader r);
Now how do I know what object I just unmarshalled such that I can
marshall it back when it comes time. Maybe there should be a
public ObjectI
never mind, that was an xsd question not a castor question, sorry I am a
beginner at this schema stuff.
thanks,
dean
Dean Hiller wrote:
Sorry if this is a stupid question for those more knowledgable about
schemas
I have a schema with
targetNamespace="http://www.avaya.com/something";
xmlns:
Hi All,
In < Status, To Do\ What's missing > Section i read :
"Work *was* under way on a direct SQL->XML bridge ..."
I want to work on this, but i need to know if someone know
about previous work & any information related with it, like
white paper, ideas, UML Diagram, Code or any other
thing tha
Sorry if this is a stupid question for those more knowledgable about
schemas
I have a schema with
targetNamespace="http://www.avaya.com/something";
xmlns:xxx="http://a-standard-protocol";
xmlns:ava="http://www.avaya.com/something";
I have already generated code for the standard schema so
you sent to wrong e-mail It is
[EMAIL PROTECTED]
dean
Ashish Kulkarni wrote:
Hi,
How do i unsubscribe from this mailing list,
i did send a mail to [EMAIL PROTECTED]
with unsubscribe castor-dev
but the mail bounced
Ashish
__
Do you Yahoo!?
use type generation vs. element generation. The web documentation is
pretty good on this and so is the pdf.
Dean
Richard Jones wrote:
I have te following schema and I used the source generator with the following command
"java org.exolab.castor.builder.SourceGenerator -i Protocol.xsd -f -types
Hi,
How do i unsubscribe from this mailing list,
i did send a mail to [EMAIL PROTECTED]
with unsubscribe castor-dev
but the mail bounced
Ashish
__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
yes, that is definitely a pretty good document, but I don't think it
captures the intracacies I tried to capture below. Below I am trying to
point out two things I had wish I known early on that the pdf does not
point out(The disadvantage of each method I had noted). Don't get me
wrong, that
I have te following schema and I used the source generator with the following command
"java org.exolab.castor.builder.SourceGenerator -i Protocol.xsd -f -types j2 -package
test"
When the source generator was finished it had generated 42 java files. My question is
: Is this natural and is there
Title: Marshalling Date's to XML
I have a few objects that contain date variables that I wish to be marshalled out to prospective XML documents. Is it possible to set the date format that the marshalling process should use? I realize there are other options such as creating formatted access
Hi Dean,
I thought I included such an example in the documentation I wrote for
the Source Generator (the pdf one available online, the latest revision
is dated from July 2001 but it still presents the functionalities of the
Source Generator.).
If it is not in the doc, I will update it.
Thanks,
A
Hi Serg,
This bug is listed in our bugzilla and will be closed very soon
http://bugzilla.exolab.org/show_bug.cgi?id=1207
Arnaud
> -Original Message-
> From: Serg Maslyukov [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-d
Hi everyone,
We’re
having a problem in a system that’s in production using castor JDO. We are getting the following exception intermittently:
org.exolab.castor.jdo.LockNotGrantedException:
persist.deadlock
at org.exolab.castor.persist.ObjectLock.detectDeadlock(Unknown
Sour
Hi
-//EXOLAB/Castor Binding Schema Version 1.0//EN
http://castor.exolab.org/binding.xsd
is not valid. Line 149
Can you check this?
Serg
=
WebMill - Free XML/XSLT java-based portlet engine.
http://webmill.askmore.info
__
Do you Yahoo!?
Y
Loïc,
My answer is below. Hopefully it is pretty accurate.
Castor team,
Can someone copy this to the website(after correcting possibly)?
I know this would have helped me tremendously from the beginning if I knew
this up front.
Example XSD.
well my 5 times perf. fix is exactly that, I need a hook to put in
crimson which does not exist today. For large files you will probably
get 5 times the perf. also(Try doing what I said in the source code and
run some benchmarks for large files). The more people that ask the
castor team to
It is not that bad. Start with a few small bugs. You start to get the
hang of where things are. I have not gotten to the point where the UML
is in my head just yet, but I think I am very close. I am sure castor
developers would be glad to give you some small bugs to fix. Also, as
far as th
hi,
I don't really understand the differences between
these 2 ways of generating sources with the sourceGenerator.
What is considered as a "top-level type" and a
"top-level complexType" ?
A simple example of a XmlSchema which obtains
2 differents source code after these 2 kind of generati
Dear Arnaud,
Many thanks for your quick response.
In answer to your question, when my definition looks like this:
Hmm I dont quite explain properly;
When i use the SourceGenerator to create the beans i need to to create a
method toString(); which returns a specific name of the element.
All my beans are created on the fly, with no human interaction involved,
so i'm using methods like,
obj.getClass().getMethod(
Hi all
My program is finally beginning to form, but i know there is an easier
way to do what i need to.
I'm using castor 0.9.4.3
with j2sdk 1.4.1_01
My program generates and compiles the java beans on the fly, i then add
the beans to a tree structure for easy editing and access, at the moment
i
40 matches
Mail list logo