Well, it seems like your two problems really are the same thing: you are not
setting values on the correct "Child" element. If you can share your code, we
may be able to spot the error, but I can assure you that it is possible to do
what you want.
Radu
OK, I did not scrutinize the output xsds I got.
Here's what happened - in my case:
I had 3 xml instances, corresponding to 3 different schemas
each with different target namespaces.
However, within each schema, there are local unqualified
elements. So I got an xsd for each of the 3 target namespace
It does not work that way for me. I did specify multiple xml files and I
got a single xsd output file called schema0.xsd. Here is the transcript
of exactly what I'm doing...
C:\workspaces\head\xmlbeans\xsd>dir
Directory of C:\workspaces\head\xmlbeans\xsd
10/24/2008 05:10 PM .
10/2
OK, I didn't actually do
inst2xsd file0.xml file1.xml file2.xml
when I first tried it; I did
inst2xsd *.xml
and let the shell perform the wildcard expansion;
and I didn't count how many xml files I had in the directory.
If I actually did
inst2xsd file0.xml file1.xml file2.xml
I get 4 files; t
Jeremy,
I don't understand why you have a problem.
As Cezar wrote, if you do
inst2xsd file0.xml file1.xml file2.xml
you get
schema0.xsd
schema1.xsd
schema2.xsd
[Btw, you can specify
-outDir [dir] - Directory for output files. Default is '.'
-outPrefix [file_name_prefix] - Prefix for ou
Running it on multiple xml files isn't the problem, I can do that just
fine. The problem is that it combines the output into a single xsd file.
I need one xsd output file for each xml input file. There doesn't appear
to be an option for this behavior but I thought I'd ask before I look
into a more
Hi Paul,
When doing "local" updates a simple synchronization is done on the
synchronization domain of that XMLObject, we call it Locale. By default, each
new document XMLObject is created with a new Locale.
But when there is an update operation involving XMLObjects from two Locale-s,
we
Bartolomeo,
Did you try using XMLBeans's scomp tool outside of Eclipse, from the command
line? Eclipse might detect all the generated java files and it would spend CPU
cycles indexing them.
Cezar
> -Original Message-
> From: Bartolomeo Nicolotti [mailto:[EMAIL PROTECTED]
> Sent: Frid
You can run inst2xsd on multiple xml files. See inst2xsd -h for usage.
int2xsd file1.xml file2.xml
Cezar
> -Original Message-
> From: Ferry, Jeremy [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2008 10:26 AM
> To: user@xmlbeans.apache.org
> Subject: Multiple output files with in
I'm running inst2xsd on a directory full of xml but the output is a
single xsd file that combines all my xml elements. Is there a way to
tell it to output one xsd for every xml? Or do I need to run inst2xsd on
each individual xml file?
Jeremy Ferry
Sr. Software Engineer
Sterling Commerce, an AT&T
Bartolomeo,
You can try pre-processing your schema with camprocessor (from sourceforge.net) first - prune down to just the subset schema you need.
Then uses those xsd instead.
There's a tutorial on ingesting your existing xsd and doing this available here:
http://www.oasis-open.org/committees
Hi,
I'm having a problem using lists of derived types under Xmlbeans 2.4.0.
Basically, I'm trying to define a list of base type and populate that list
with instances of derived types. For example, given a schema that
contains complex types of Parent, Child1, and Child2, where Parent is
abstra
Hi (included dev list as this may be too in depth for the user list)
I'm using XmlBeans 2.3.0 in a Weblogic 9.2 J2EE web application (JVM
1.5.0_10). We use XmlBeans to compile our schema and these effectively
become our domain objects. These are looked up from the DB, stored in
the Http Session
Hi,
thanks for the response. wsdl2java takes approximatively 1min, but
there're more xsd, while the Java compilation that takes 10min to
compile the two files:
> 11Mb (.java) and
> > 35Mb (...impl.java
maybe is the java compiler used by Eclipse IDE. Do you have any idea of
how to speed up this
14 matches
Mail list logo