[Zopexmlmethods-devel] DTDValidateMethod first cut checked in, working
Brought to you by:
arielpartners,
philikon
From: Craeg K S. <cs...@ar...> - 2003-06-16 05:56:06
|
All done and checked in. from CHANGES.txt - Created an XMLMethod base class for XSLTMethod, XPathMethod, and DTDValidateMethod. (CKS) - Created a DTDValidateMethod class. This will either be renamed to XMLValidateMethod or joined by SchematronValidateMethod, XMLSchemaValidateMethod, and RelaxNGValidateMethod in the future (CKS) - Created a base IProcessor interface, only has setDebugLevel for now. - Added IDTDValidator interface (for 4suite1.0a only, for now) (CKS) - Removed transformGuts() from IXSLTProcessor interface. Now transform() may throw an exception. - Added XPathMethod, IXPathProcessor, IXPathExpression (CKS) (for 4suite1.0a only, for now) - Renamed ProcessorChooser to ProcessorRegistry with refactored interface for better SoC (CKS) - Upgraded tests for latest version of ExternalFile, v1.2 (CKS) OK, I must now turn back to "Real Work" :-} Please take a look at the DTDValidateMethod and XPathMethod implementations. I expect we will want to do some refactorings or renamings, but the ideas are there. Having factored most stuff into the XMLMethod base class, they are pretty clean looking. They work fine for me on RedHat 9/Zope 2.6.1 I hope to test them on my Win2K box, soon. Comments welcome, --Craeg |