users@jaxb.java.net

Re: Namespace Question

From: Shashi Garje <SGarje_at_cccis.com>
Date: Tue, 29 Apr 2003 14:54:48 -0500

Let me briefly explain my situation. I am implementing a framework that
strives to stay agnostic to the application domain object. One of the tasks
of the framework is to do a roundtrip conversion XML to Java and then back
from Java to XML. The XML schema as well as the XML instance documents have
namespaces in them. I would like JAXB (or the workaround kit) to preserve
the namespace at the end of the round-trip. I do not want my framework code
to specify the namespace because it cannot, it is agnostic to the
application objects. Your workaround kit asks me to specify the namespace.
I would like your workaround kit to extract the namespace either from the
schema or the instance document.



                      Kohsuke Kawaguchi
                      <Kohsuke.Kawaguch To: JAXB-INTEREST_at_JAVA.SUN.COM
                      i_at_Sun.COM> cc:
                      Sent by: Subject: Re: Namespace Question
                      Discussion list
                      for the Java
                      Architecture for
                      XML Binding
                      <JAXB-INTEREST_at_JA
                      VA.SUN.COM>


                      04/25/2003 12:39
                      PM
                      Please respond to
                      JAXB-INTEREST






> Kohsuke.Kawaguchi_at_Sun.COM suggests that the above class be
> modified, can some one give me a hint as to what modification
> I need to make.

Search the archive with "[ANN]". You'll find a workaround kit that I
posted in this list some time ago.

Let us know if that doesn't address your problem.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com