|
From: <rod...@in...> - 2003-06-03 10:32:23
|
Advance warning: Unless anyone has a strong objection, I'm going to check in the changes to XmlBeanFactory and a revised DTD in the next couple of days. Following our discussions: - there will be a new <collection> element. A <property> must contain a <collection>,<ref> or <value>. - This approach will allow <map> elements to be added fairly easily. However I don't have time to do this in the first cut. - This is *not* backward compatible. Name -> id attribute, <property> elements can't contain text. I'm dropping forgiving parsing. - Validation will be enforced. This means we need to think about where we put the DTD. (Juergen, how's your URIResolver coming on?) I'm currently changing all the XML files in the test suite to the new format. I've already tested the changes to XmlBeanFactory itself. Although the new format is more verbose, I think it is more maneagable, and the changes are definitely worthwhile. Validation of id refs works nicely, and even in the fairly primitive Eclipse XML editor I use, I get prompted for completions as I author the XML. THESE CHANGES WILL BREAK ALL EXISTING XML FILES. However, the changes should be fairly straightforward. Regards, Rod |