users@jaxb.java.net

Re: Problems with multiple root elements in same package

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 24 Apr 2003 07:28:40 -0700

> As Usual, simple bug. the instance document was not set to the namespace.

Well, I'm glad the problem is solved.

> Is XmlSpy not properly validating?

As a matter of fact, XMLSpy is not really a good tool in terms of the
conformance to the spec...


> 3 levels deep it insists qualified names become unqualified. the
> original Xml file passed XmlSpy 5.2 validation, after massaging the
> file so that

I'm sorry, you lost me. I got your schema and instance,

 - Can JAXB-RI unmarshal that instance?
 - Does XMLSpy validate that instance?

If not, what are the error messages? Have you tried other schema
validators?

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