<br><div><span class="gmail_quote">On 4/30/07, <b class="gmail_sendername">Dermot McNally</b> <<a href="mailto:dermotm@gmail.com">dermotm@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Folks,</blockquote><div><br>Hi Dermot,<br>
<br>
I have been changing and fixing some bugs in the validator plugin, and
also adding a new layer to display graphically the errors, but then went on
vacations for several days, I'll look into these questions this weekend.<br>
<br> <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've been using the validator for a week or so in "reduced mode".
<br>Specifically, I had it installed in such a way that the<br>preset/property spell check wasn't working - or rather, wasn't finding<br>any errors, which seemed a little strange. On getting it going<br>initially I had tried enabling "Check also property values from
<br>presets", but trying to validate caused an exception to be thrown. So<br>although "Spell checker" was enabled, no errors were flagged.</blockquote><div><br>The presets check uses the currently loaded presets file. If no presets available, no check.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Today, I upgraded everything - JOSM and validator.jar. I also followed<br>the procedure outlined in Christoph's tutorial for getting going with
<br>presets. This has brought about (mostly) an improvement. I can now<br>switch on the "check presets" option and I now get some warnings under<br>the heading "unknown property values". Seems good so far. However:
<br><br>* I can no longer click the "fix" button. Doing so used to work, but<br>now throws an exception. I can post the dump here if useful, or<br>failing that I'll send it to the address it proposes.</blockquote>
<div><br>Yes, a stacktrace would be useful. Please, send it to <a href="mailto:frsantos@gmail.com">frsantos@gmail.com</a>. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
* It's catching values that seem to me to be valid and established.<br>For example, it dislikes highway=tertiary and amenity=theatre. I<br>haven't so far worked out where the list of valid values is defined.</blockquote>
<div><br>As said, the check uses the presets file for validation. This file contains the values that a property can have. If this file does not contain tertiary for highway or theatre for amenity, it is shown as an error. The check relies on a good presets file, but I think there is no good presets file yet.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">* It's failing to find a deliberately mis-spelled way property<br>(hiiway=test). Am I wrong to assume that this should be within the
<br>scope of the spell checker?</blockquote><div><br>The spellcheck uses the speller words created by JLS (<a href="http://wiki.openstreetmap.org/index.php/User:JLS/speller">http://wiki.openstreetmap.org/index.php/User:JLS/speller
</a>). If that word is not in the list, it is not detected as an error. Currently, it uses the 4-19-2007 list, and I think hiiway is not in that list.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I haven't overlooked any documentation on this, BTW, have I?</blockquote><div><br>I don't think so, as there is no documentation :-). <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dermot<br><br>PS: After all those complaints, it's only fair to mention that<br>validator has been a hugely useful tool for me.</blockquote><div><br>Thanks, I pretend to expand it a little more so that it is yet more usefull.
<br>Quico</div></div>