Dino Fancellu wrote: > > > +0 to me... > > sorry but I don't think is time for changing what's working... let's pay > > more attention on what's NOT working! :-) > > I never suggested we change anything, simply that it looks nice. > > > I didn't take a deep look at it but if you feel this could improve > > quality... please go on. > > > > Anyway a needed thing for configuration is a validator for reading > > templates (stored in jar), validate it on a DTD or similar basis and ask > > to the user to fill needed values. > > So if DTD says there must be an element named <dnsserver> and it must > > not be empty we place in the template the <dnsserver> tag empty, on the > > validator error the user wiil be asked for fill the element with the > > help provided in the help attribute <dnsserver help="place here your dns > > server">. > > > > I know Xerces allow pluggable validator... what about JDOM? > > > > Fede > > Don't know. I know JDOM allows you to plug in different parsers, > and you can day whether you want it to validate or not. > > As its all open source it shouldn't be too hard to do. > > Dino. > Well... not so easy! At least I don't have any idea 'bout how to write a parser with Xschema validator...:-) Is there anyone who wish to gain glory and fame by implementing such a validator? This whould be a great improvement. Fede ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/> Problems?: [EMAIL PROTECTED]
