[Zope-dev] To ZCML or not ;-)
Martijn Faassen
faassen at infrae.com
Fri Apr 8 11:58:47 EDT 2005
Lennart Regebro wrote:
[snip]
> For me, the main drawback with ZCML is that WingIDE doesn't to auto
> completion on it. ;) An ZCML editor that automatically popped up a
> list of the supported keywords for every statement would be really
> nice. :-p
Actually emacs + nxml + the Relax NG schema (unfortunately out of date;
it should be autogenerated from the code) for ZCML does that.
> A benefit of using an XML format is that many editors will happily
> both do syntax high-lighting, some sort of auto-indentation, and
> automatic commenting/uncommenting. A non-standard syntax wouldn't do
> that.
Yup, and if you use some XML editor (or an XML editor extension for your
favorite editor) it can do quite sophisticated schema-driven stuff.
Regards,
Martijn
More information about the Zope-Dev
mailing list