users@jaxb.java.net

Re: newbe - missing defaultValue on attributes

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 16 Sep 2008 14:12:09 +0200

Would you mind sending us your schema? At least the relevant part.

On Tue, Sep 16, 2008 at 1:57 PM, Mike Skells <mike.skells_at_validsoft.com>wrote:

> Hi, I am using 2.1.8 and I am missing default values from attributes. when
> I generate with this XSD I get public class Def { @XmlElement(defaultValue =
> "true") protected Boolean test2; @XmlAttribute protected Boolean test1; ...
> } I would expect to see @XmlAttribute(defaultValue = "true") protected
> Boolean test1; Have I missed something.
> ------------------------------
> View this message in context: newbe - missing defaultValue on attributes<http://www.nabble.com/newbe---missing-defaultValue-on-attributes-tp19510263p19510263.html>
> Sent from the java.net - jaxb users mailing list archive<http://www.nabble.com/java.net---jaxb-users-f13500.html>at Nabble.com.
>