users@jaxb.java.net

Re: unmarshalling exceptions

From: Shannon Ray Hughes <srhughes_at_lucent.com>
Date: Tue, 24 Jun 2003 17:10:05 -0400

We fixed the problem, when we set the parsing factory method
"setNamespaceAware" to true it resolved the problems.

Shannon Ray Hughes
srhughes_at_lucent.com
919-463-3166
----- Original Message -----
From: "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_sun.com>
To: <JAXB-INTEREST_at_java.sun.com>
Sent: Tuesday, June 24, 2003 4:42 PM
Subject: Re: unmarshalling exceptions


> Shannon Hughes <srhughes_at_LUCENT.COM> wrote:
> > I am having problems during the unmarshalling process. I do know that my
> > schema is valid and well formed and I also know that the parser is
> > parsing the xml document correctly. When I hit the unmarshalling process
> > I am seeing the following error...any ideas?
>
> It does look strange, indeed.
>
> Since the code is in the generated runtime, I would recommend you to set
> the break point at the SAXUnmarshallerHandlerImpl.startElement method,
> and inspect the values of relevant variables (or emit the print
> statement to dump some information.)
>
> Tell me whether the local variables "uri" and "local" are non-empty when
> the startElement method is called.
>
>
> I never heard about this failure and since everyone uses this part of
> the code, it's difficult to believe that there's a bug in our code.
>
> If you find out what was wrong, please let us know. I'm very interested
> in knowing it.
>
>
> regards,
> --
> Kohsuke Kawaguchi 408-276-7063 (x17063)
> Sun Microsystems kohsuke.kawaguchi_at_sun.com