Yes, i could do "just" that. But "just that" just isn't a top priority for me right now as you might understand.
Still, i'll look it into this weekend and if i come to the conclusion that it's really that simple, who nows......
Just don't hold your breath :o)
Cheers
Hugo
Couldn't you just write a custom errorhandler which collects all errors into a list and you display that? Then, run RegistryBuilder.constructDefaultRegistry()?
From: Hugo Palma [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 24, 2006 8:51 AM
To: [email protected]
Subject: [Norton AntiSpam] Re: providin a dtd to hivemind xml files
I actually have something like that in the roadmap of the Tapestry plugin for IntelliJ i'm implementing. Of couse this component would be indepedent of Tapestry and would work any any other kind of project.
The bad news is that i won't have time in the near future to implement this as i'll be implement other more Tapestry specific features. But if anyone wants to implement such editor i can help with all the free time i can get.
Cheers
HugoOn 24/02/06, Domsch, Christian < [EMAIL PROTECTED]> wrote:
Hi,
I proposed this some time ago: It is possible to write an editor (or an ide plugin) that reads all hivemodule.xml (like the registrybuilder does) and the parse all configuration points and there corresponding schema definitions. And from theses schemas enforce the correct editing of the contributions. Its all there, you just have to write that "little" editor :-)
Btw, this would be a great improvment!
Greetings,
Christian.
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 24. Februar 2006 14:07
An: '[email protected]'
Betreff: RE: providin a dtd to hivemind xml filesdepends. The point is, the structure of a <contribution> element depends on it's configuration-id attribute. That's not possible to enforce in either dtd or schema afaik.
But if you have a sub-module that contributes to only one schema that'll not be a problem.
-----Original Message-----
From: Andrea Chiumenti [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 24, 2006 1:58 PM
To: [email protected]
Subject: providin a dtd to hivemind xml filesHi!
To help my customers to configure services I'd like to drive them with dtd validation. So for example
for file auth.xml included into my hivemodule.xml i'd like to provide an auth.dtd file to validate the xml correctness.
Is it possible ?
Thanks in advance,
kiuma
