Re: [Zopexmlmethods-devel] SchemaValidator? DTDValidator?
Brought to you by:
arielpartners,
philikon
|
From: Brent M H. <br...@ri...> - 2003-05-12 13:28:28
|
Philipp von Weitershausen wrote:
> Hi Craeg,
>
> Instead of answering all your question one-by-one, let me sum it up:
>
> Pleeeeease do not make your validator dependent on Zope specific code.
> Instead, I would suggest writing a utility class (e.g. DTDValidator)
> that implemented the interface "IValidator".
I would agree with Philipp and add that I think generalizing here is not
premature. I might be able to add a RelaxNG validator soon. It goes
without saying that I think your idea is a good one :)
-- Brent
-------------------------------------------------------------------------
"The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. Few media of creation are so
flexible, so easy to polish and rework, so readily capable of
realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month
|