1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
3 <!-- points can be empty, but it can't be only spaces, tabs or a single number -->
4 <Polyline Stroke="Blue" Fill="Green" Points="" />
6 <!-- points can start with spaces -->
7 <Polyline Stroke="Blue" Fill="Green" Points=" 10,10" />
9 <!-- points can start with tabs -->
10 <Polyline Stroke="Blue" Fill="Green" Points=" 110,10" />
12 <!-- points can't start with comma
13 <Polyline Stroke="Blue" Fill="Green" Points=",110,10" />
16 <!-- points can have extra comma and a comma can separate points -->
17 <Polyline Stroke="Blue" Fill="Green" Points=" 10,110, 110,110, 110,210,10,210," />
19 <!-- points can have new lines to separate points and extra spaces at the end -->
20 <Polyline Stroke="Blue" Fill="Lime" Points=" 10,210, 110,210 110,310
23 <!-- points can be separated using the minus sign but the separator isn't skipped in this case -->
24 <Polyline Stroke="Blue" Fill="Gray" Points=" 10,210, 110,210-10,150" />
26 <!-- points coordinates can be separated spaces or minus or tab or newline -->
27 <Polyline Stroke="Blue" Fill="Brown" Points=" 10-10, 110 210 10 150,10