users@jaxb.java.net

how to marshal a java.lang.Boolean ?

From: Mark Hansen <khookguy_at_yahoo.com>
Date: Fri, 25 Jun 2004 08:42:19 -0700 (PDT)

I get this error when I try to use a Marshaller
(generated by a custom schema) to marshall an instance
of java.long.Boolean.

javax.xml.bind.MarshalException: the object parameter
to marshal() is not marshallable

Doesn't JAXB define a standard map of Boolean to
xs:boolean ?? Shouldn't any Marshaller instance be
able to marshal/unmarshal the standard XML Schema
types, such as:

java.lang.String <--> xs:string
java.lang.Boolean <--> xs:boolean

TIA,

Mark


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net