I did exactly that and nothing happened for me. On a related note, I also did
Marshaller.setProperty(Marshaller.JAXB_FORMATED_OUTPUT, Boolean.TRUE) and I did not get an formatted output. Any suggestions?
Eric
Kohsuke Kawaguchi
<Kohsuke.Kawaguch To: JAXB-INTEREST_at_JAVA.SUN.COM
i_at_Sun.COM> cc:
Sent by: Subject: Re: how to obtain namespace of the unmarshalled object?
Discussion list
for the Java
Architecture for
XML Binding
<JAXB-INTEREST_at_JA
VA.SUN.COM>
04/15/03 12:38 PM
Please respond to
JAXB-INTEREST
Through Marshaller.setProperty
Marshaller m = context.createMarshaller();
m.setProperty("jaxb.schemaLocation","ns1 schema1 ns2 schema2");
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.