<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Who says the lists using a semicolon are by definition unordered?</p>
<p>A road with multiple ref's might have ref=A1;A2 where A1 is listed first on the signs. A shop with multiple categories (I know this is subject to some discussion) might have shop=a;b;c where shop=a is its primary categorisation. A road with destination=City1;City2 may show City1 first or more prominently on signs. If you try to say that these values are unordered by definition, i.e. the order conveys no meaning at all, I am sure you will get a lot of pushback..</p>
<p>Anyway, syntactically the semicolon syntax is pretty damn similar to the pipe syntax for lanes, except that (so far) an empty value doesn't make sense in the places that are currently using the semicolon syntax. Looking through the eyes of a lexical parser I see no intrinsic reason why the two delimiters should be treated so differently. Tags and values are for machine processing, not for direct human consumption; in order to be fit-for-purpose they have to lend themselves to machine interpretation, and that usually means well-defined rules of syntax.</p>
<p>//colin</p>
<p>On 2016-01-19 19:41, Hakuch wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 19.01.2016 19:25, Colin Smale wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">So how do you indicate a missing/empty value in the middle of the list?<br /> Does "a;;b" mean a single value of "a;b" or does it mean three values<br /> "a", "" and "b"?<br /><br /> The "lanes" tag family uses a different delimiter ("|"), sometimes<br /> together with a semicolon to make a kind of 2-d array. A double pipe<br /> ("||") indicates a missing value there. Wouldn't it be nice if we were<br /> consistent?</blockquote>
<br /> no, that is a complete different situation. The lane-family use<br /> parameters (if you like it or not), so every position has a meaning.<br /><br /> The semicolon is for (unordered) lists, an empty value doesn't make any<br /> sense there.</div>
</blockquote>
</body></html>