|
From: <jas...@ma...> - 2005-06-13 07:51:12
|
On 12 Jun 2005, at 08:52, Fredrik Lindgren wrote: > The functionality described seems nice and unobtrusive. > > Switching to XSD however, would be a disaster. Not only would you > add more dependencies to spring to support XSD validation, What new dependency? Xerces is included in the JDK/JRE which can handle XSD validation > you would also force an unneccesary, and in my opinion bad, > technology choice on spring users if they want to take advantage of > the custom xml functionality. Both DTDs and XSDs can be supported - the Spring.xml file can decide which validation mechanism it prefers. > Please go ahead and add the custm xml functionality, but in the > Spring spirit, keep the validation implementation pluggable. It is! :) Whatever the end user uses to validate their XML is up to them - either DTD, XSD or no validation are the choices right now. James ------- http://radio.weblogs.com/0112098/ |