Karr, David wrote:
> For instance, my sample XML file has a root element with attributes
> "xsmlns:xsi" and "xsi:noNamespaceSchemaLocation". These are not
> specified in the schema (logically), but I need to have my JAXB objects
> contain everything from the XML file, so I can reproduce it later. Is
> JAXB not good for completely reproducing the original XML file? How
> does it deal with comments, for instance?
JAXB-generated code generally does not capture what was not specified in
the schema. This includes those xsi attributes and comments.
--
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