You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Benson Margulies <bi...@gmail.com> on 2009/02/05 23:11:11 UTC

XmlSchema design question: empty elements

Someone went to some trouble to arrange the following:

If an XSD file contains something like <appInfo/>, there is NO evidence in
the object model after it is read in.

Now, it seems to me that if someone went to all the trouble to put the null
element in, the object model should keep it, so files will round-trip.

Does anyone remember the rationale here?