Hi,
for testing purposes we like to generate a xml Document from a given Schema and
fill them with special values depending on the schema.
With SchemaReader in could read in the Schema and here's my question:
How to generate a xml from that object ? With Castor or manual element for
element ?
Hi,
Our project is in the middle of selecting a tool for
persistence service.
Anyone can give or point me to the brief comparision
between castor xml and JDK XMLEncoder, so I can
convince others to use castor?
Thanks
__
Do You Yahoo!?
Tired of
Jakub-
I've also observed this problem in the past few months with Castor.
Unfortunately I haven't had time to track down a source of the
problem. One work-around you can try is to define defining the type
attribute for the value as java.lang.Object. It's hackish, but I
think I snuck some
Title: [XML] Binding file schema issue
Hi,
I have been using the following binding XML for several weeks with no trouble...
binding xmlns=http://www.castor.org/SourceGenerator/Binding
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
Bin-
I personally have never used XMLEncoder, so please take my words with
a grain of salt. Looking at the API specification, XMLEncoder appears
similar to other XML serialization tools for Java (XStream, JSX, etc).
In my experience most of these tools don't provide much control over
the
Darran-
Just to clarify, are you attempting to use a binding file to generate
classes from your schema? Or are you using a mapping file to generate
the XML using the existing java classes?
In the later case, it should be pretty easy to get it set up using the
InterfaceA, at which point Castor
Patty-
I just checked, and there isn't a resource at
castor.org/SourceGenerator/Binding (though I can't say it never
existed), so my guess is something else in your local configuration
changed. You might try assigning a namespace prefix to the current
default namespace to see if the error
Hi Patty,
at 6-April-2006 we released 1.0 of castor and also updated the whole
website but I am not aware of any influence this should have on your
application. Having said that I double checked if anything had
previously been available under
http://www.castor.org/SourceGenerator/Binding and
Patty,
Download a copy of binding.xsd and change the schemaLocation to point to your
local copy. You definately don't want to depend on an external server to be up
and running in order to use your binding file.
The same goes for mapping files and any runtime dependencies.
--Keith
Ralf
9 matches
Mail list logo