users@jaxb.java.net

Re: fixed attribute values are lost

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 26 Jan 2004 09:24:02 -0800

> I'm trying to compile the schema below. The problem is that the
> fixed-value attribute InName of the Input1 type is not showing up in the
> resulting class. However the fixed-value attribute RName of BRIMsgType
> does show up. Is this because the former is only declared to be fixed in a
> derived type? Or an anonymous type? How do I get around this problem?

Making an existing attribute fixed in a derivd type doesn't work well
with the current RI.

And I'm afraid I can't think of a good work around. You might be able to
modify the generated code and maintain the diff.


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net