<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>see also <br><a href="http://gis.19327.n5.nabble.com/useless-rules-in-default-style-inc-address-tp5825575.html" target="_blank">http://gis.19327.n5.nabble.com/useless-rules-in-default-style-inc-address-tp5825575.html</a><br><br>attached is a patch that implements a style filter to convert country names <br>to the 3 character ISO code which is used in e.g. the address rules.<br><br>It also changes two rules in inc/address to use this filter<br>and adds a simple check to ValueBuilder to report <br>the case when a filter is expected but not recognized because of parser or syntax errors<br>like in the case reported here:<br><a href="http://gis.19327.n5.nabble.com/Substring-returns-full-string-tp5825603.html" target="_blank">http://gis.19327.n5.nabble.com/Substring-returns-full-string-tp5825603.html</a><br><br>Gerd<br>                                               </div></body>
</html>