users@jaxb.java.net

Re: Ant Task and Vendor Extensions

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 13 Oct 2003 09:44:12 -0700

> Exactly: I saw reference to vendor extensions not functioning in external
> binding file so I put the global customizations in a dummy schema.

That is an excellent hack!

A few more questions:

- if you put a dummy element decl in that dumym schema like
  <xs:element name="foo" type="xs:string" />, does it recognized?

- if so, try adding a normal JAXB customization or something to this
  element and see if it takes effect.

- when you are running it from xjc.sh, try adding "-mode forest" option
  and see if the output includes your dummy schema (or you can send it
  to me if your schema is not confidential.)


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