ZF-9309: Improvements in Zend_Validate_Sitemap_*
Description
Add message to invalid type given in Zend_Validate_Sitemap_*:>_messageTemplates.
protected $_messageTemplates = array(
self::INVALID => "Invalid type given, value should be string",
);
Also in Zend_Validate_Sitemap_Priority, Zend_Validate_Sitemap_Lastmod and Zend_Validate_Sitemap_Loc method isValid ($ value), even when the data type of the value is valid if the next step of validation is invalid, is not assigned error message.
Comments
Posted by Ramon Henrique Ornelas (ramon) on 2010-03-02T18:21:02.000+0000
Attached patch.
Posted by Thomas Weidner (thomas) on 2010-03-07T01:39:05.000+0000
Implemented with r21365.
Patch not usable... partitial errorous and missing parts