Hello all,<div><br></div><div>I&#39;m getting an error when trying to print my map having OSM as base layer:</div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
Error while generating PDF:
DocumentException: org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: <a href="http://tile.openstreetmap.org/">http://tile.openstreetmap.org/</a> (spec.layers[0].baseURL has an invalid value: <a href="http://tile.openstreetmap.org/">http://tile.openstreetmap.org/</a>)
        at org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:64)
        at org.mapfish.print.map.readers.HTTPMapReader.&lt;init&gt;(HTTPMapReader.java:55)
        at org.mapfish.print.map.readers.TileableMapReader.&lt;init&gt;(TileableMapReader.java:40)
        at org.mapfish.print.map.readers.OsmMapReader.&lt;init&gt;(OsmMapReader.java:41)
        at org.mapfish.print.map.readers.OsmMapReader.create(OsmMapReader.java:78)
        at org.mapfish.print.map.readers.MapReader.create(MapReader.java:56)
        at org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:111)</pre><pre style="word-wrap: break-word; white-space: pre-wrap; ">...</pre><pre style="word-wrap: break-word; white-space: pre-wrap; "><br></pre>
<font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">The code is the same as in GeoExt Printing OSM example...</span></font></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">I&#39;m using extjs 3.4, openlayers 2.11, geoserver 2.1.1 and openlayers 2.11</span></font></span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">Just an add... my code works with Metacarta WMS basic as in geoserver 2.11 printing demo.</span></font></span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">Thank you for your attention.</span></font></span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: &#39;Times New Roman&#39;; font-size: medium; "><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">Marco<br>
</span></font><pre style="word-wrap: break-word; white-space: pre-wrap; "><br></pre></span></span></font></div>