You'll have to experiment ... generally speaking though I would stay away from 
putting them in the exact same package. I've personally run into problems with 
this before and although the xsd's don't share namespaces, the problem arises 
with the java classpath.

If you have two elements with the same name but in different namespaces, for 
example, their method signatures will collide if they are in the same java 
package. When this happens java will just use the last one loaded and you'll 
almost certainly run into problems.

It would be much better to just put them in different packages if possible.

-Ty

----- Original Message ----
From: Luca Santaniello <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, December 10, 2007 12:08:58 PM
Subject: R: R: package


Perfect, now run.

Can I generate 2 jar from 2 xsd with targetNamespace =
http://www.opengis.org/wfs

I have read on documentation this alert:

Note: XMLBeans doesn't support using two or more sets of java classes
 (in
different packages) mapped to schema types/elements that have the same
 names
and target namespaces, using all in the same class loader. Depending on
 the
direction you are using for the java classes to schema types mapping,
 some
features might not work correctly. This is because even though the
 package
names for the java classes are different, the schema location for the
 schema
metadata (.xsb files) is the same and contains the corresponding
implementing java class, so the JVM will always pick up the first on
 the
classpath. This can be avoided if multiple class loaders are used.

I don't understand

 
 
 --
 Email.it, the professional e-mail, gratis per te:
 http://www.email.it/f
 
 Sponsor:
 Dimagrire in 30 giorni: Garanzia soddisfatti o rimborsati
* 
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7108&d=10-12

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to