ZF-9309: Improvements in Zend_Validate_Sitemap_*

Issue Type: Improvement Created: 2010-03-02T18:12:37.000+0000 Last Updated: 2010-03-07T01:39:06.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)

Reporter: Ramon Henrique Ornelas (ramon) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments: - Sitemap.patch


Add message to invalid type given in Zend_Validate_Sitemap_*:>_messageTemplates.

<pre class="highlight">
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.


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.