users@jaxb.java.net

RE: Re: schemaBinding and namespaces and xjb.

From: Ted Poovey <tpoovey_at_uscentral.org>
Date: Thu, 18 Sep 2003 09:34:54 -0500

<jaxb:bindings version="1.0"
                xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
                xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <jaxb:bindings schemaLocation="InternationalWire.xsd"
node="/xs:schema">
                 <jaxb:schemaBindings>
                         <jaxb:package
name="org.uscentral.cnecs.poster.xml"></jaxb:package>
                 </jaxb:schemaBindings>
         </jaxb:bindings>
</jaxb:bindings>

in one file

<jaxb:bindings version="1.0"
                xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
                xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <jaxb:bindings schemaLocation="ShareTransfer.xsd"
node="/xs:schema">
                 <jaxb:schemaBindings>
                         <jaxb:package
name="org.uscentral.cnecs.poster.xml"></jaxb:package>
                 </jaxb:schemaBindings>
         </jaxb:bindings>
</jaxb:bindings>

in another.

Using both in the xjc execution.
Thank you
 
Ted D. Poovey
Software Engineer III
U.S. Central Credit Union
(913) 227-6106
 

-----Original Message-----
From: Ed Mooney [mailto:Ed.Mooney_at_Sun.COM]
Sent: Thursday, September 18, 2003 9:29 AM
To: users_at_jaxb.dev.java.net
Subject: Re: schemaBinding and namespaces and xjb.

Hi Ted,

If each <schemaBindings> were within its own <bindings>, I would
expect
things to work. Could you post your xjb?

Regards,
-- 
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Ted Poovey wrote:
> Given multiple .xsd with the same target namespace we have noted
that
> the .xjb must not contain schemaBinding for more than one of them.
Is
> this automatically global and if so, how can we specify since it
uses
> the .xsd?
> 
> Thank you
> 
> Ted Poovey
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net