|
From: Rod J. <rod...@in...> - 2003-05-29 21:47:39
|
I've checked a preliminary DTD for beans definitions into the root directory of Spring main. - improvements/abuse welcome...it's a while since I've written a DTD - I'm having problems getting the XmlBeanFactory to validate against it. When I call setValidating(true) on the DocumentBuilderFactory, it goes and checks the DTD exists and can be parsed, but doesn't actually check structure against it, as far as I can see. Can anyone shed any light on this? I guess we could use schema, but this seems overkill for such a simple structure to my mind. Regards, Rod |