users@jaxb.java.net

Re: Validator finds cycles where there are none?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 29 Jul 2004 10:44:34 -0700

> My program can normalize these or not normalize these associations
> depending on the users preference. This maybe isn't the most motivating
> example, but the schema (DTD) was designed many years ago and that is
> probably not that uncommon a situation (?)

Thanks for explaning things in more detail.

> I was thinking that an object /tree/ with a cycle could never marshal to
> valid XML, but an object tree (or object DAG) could marshal to valid XML
> without problems?

You are right. It does marshal to a valid XML.


I'll ask others in the team, and find out what the spec says. If the
spec allows us to marshal out a DAG, I'm inclined to make that change.

regards,
--
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