hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Chiumenti" <kium...@gmail.com>
Subject Re: Re: providin a dtd to hivemind xml files
Date Fri, 24 Feb 2006 14:06:57 GMT
This is not what we would like. What you suggested is only a validator, what
we are speacking about is a full featured editor


On 2/24/06, James Carman <james@carmanconsulting.com> wrote:
>
>  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:hugo.m.palma@gmail.com]
> *Sent:* Friday, February 24, 2006 8:51 AM
> *To:* hivemind-user@jakarta.apache.org
> *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
>
> Hugo
>
> On 24/02/06, *Domsch, Christian* <Christian.Domsch@top-logic.com> 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:* marcus.schulte@bmw.ch [mailto:marcus.schulte@bmw.ch]
> *Gesendet:* Freitag, 24. Februar 2006 14:07
> *An:* 'hivemind-user@jakarta.apache.org'
> *Betreff:* RE: providin a dtd to hivemind xml files
>
> depends. 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:kiuma72@gmail.com]
> *Sent:* Friday, February 24, 2006 1:58 PM
> *To:* hivemind-user@jakarta.apache.org
> *Subject:* providin a dtd to hivemind xml files
>
> Hi!
>
> 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
>
>
>

Mime
View raw message