users@jaxb.java.net

RE: Re: schemaBinding and namespaces and xjb.

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

I expect them to work. I am getting an error message saying that the
<schemaBindings> is in error since it is already set for that
namespace.

Both .xsd objects are mapped to the same namespace.

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:52 AM
To: users_at_jaxb.dev.java.net
Subject: Re: schemaBinding and namespaces and xjb.

Hi Ted,

These look sensible.

What behavior do you expect, and what are you seeing?

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:
> <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,
---------------------------------------------------------------------
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