logo separator

[mkgmap-dev] is tag matching case sensitive?

From GerdP gpetermann_muenchen at hotmail.com on Mon Mar 17 14:37:33 GMT 2014

Hi Michal,

the tag is evaluated with the java method String.equals(),
so yes, it is case sensitive.

Gerd


Michał Rogala wrote
> Hi!
> 
> I've always thought that matching tag values is case insensitive. But
> today
> I found a situation where
> 
> colour='#00ff00'
> 
> rule doesn't match when tag value is '#00FF00'.
> 
> creating a rule (colour='#00ff00' | colour='#00FF00') solved my problem.
> 
> Is it a bug in mkgmap or this kind of matching should by design be case
> sensitive? Maybe the hash sign causes trouble somewhere.
> 
> best regards
> 
> Michal Rogala
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/is-tag-matching-case-sensitive-tp5800033p5800035.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list