<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Gents,<br>
    <br>
    With newest release r3693 I'm having troubles creating a map with a
    style file 'line' containing the following expression (it worked
    with r3649 and earlier version):<br>
    <blockquote><tt>maxspeed = * & ( maxspeedkmh()>120 | maxspeed
        = none ) & ( highway = motorway | highway = trunk )  { set
        mkgmap:road-speed-class = 7 }</tt><br>
    </blockquote>
    <br>
    It bailes out with the following error codes in the output:<br>
    <blockquote><tt>java -Xmx1536M -jar
D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar 
        --max-jobs=2 -c Freizeitkarte_CHE.cfg --check-styles</tt><br>
      <tt>Time started: Fri Aug 12 12:14:08 CEST 2016</tt><br>
      <tt>Found one style in
D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_CHE_de/style/fzk</tt><br>
      <tt>Error in style: Error: (lines:442): Invalid rule expression:
(((maxspeedkmh()>120)|($maxspeed='none'))&((($highway='motorway')|($highway='trunk'))&$maxspeed=*))</tt><br>
      <tt>could not open style fzk</tt><br>
      <tt>finished check-styles</tt><br>
      <tt>Error in style: Error: (lines:442): Invalid rule expression:
(((maxspeedkmh()>120)|($maxspeed='none'))&((($highway='motorway')|($highway='trunk'))&$maxspeed=*))</tt><br>
      <tt>Error in style: Error: (lines:442): Invalid rule expression:
(((maxspeedkmh()>120)|($maxspeed='none'))&((($highway='motorway')|($highway='trunk'))&$maxspeed=*))</tt><br>
      <tt>Error in style: Error: (lines:442): Invalid rule expression:
(((maxspeedkmh()>120)|($maxspeed='none'))&((($highway='motorway')|($highway='trunk'))&$maxspeed=*))</tt><br>
      <tt>Error in style: Error: (lines:442): Invalid rule expression:
(((maxspeedkmh()>120)|($maxspeed='none'))&((($highway='motorway')|($highway='trunk'))&$maxspeed=*))</tt><br>
      <tt>Could not open style</tt><br>
      <tt>Number of ExitExceptions: 1</tt><br>
    </blockquote>
    When just changing the order of the expressions (without changing
    the logic/result) as shown below it works properly also with release
    r3693:<br>
    <blockquote><tt>maxspeed = * & ( highway = motorway | highway =
        trunk ) & ( maxspeedkmh()>120 | maxspeed = none )  { set
        mkgmap:road-speed-class = 7 }</tt><br>
    </blockquote>
    Is it possible that the 'fixes' for r3667 or r3671 fixed some errors
    but brought a new one in ? Or do I completely misunderstand the
    concept of these expressions ?<br>
    <br>
    Thanks for checking<br>
    Patrik<br>
  </body>
</html>