[Geoserver-users] SLD problem</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=geoserver-users@lists.sourceforge.net&q=from:%22Andreas+For%C3%B8+Tollefsen%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Andreas Forø Tollefsen</span></span></a></span> <span class="date"><a href="/search?l=geoserver-users@lists.sourceforge.net&q=date:20140807" rel="nofollow">Thu, 07 Aug 2014 23:18:31 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>Hi, I have a SLD file generated by QGIS to visualize a WMS layer. This works without any problem.</pre><pre> However, when using GetLegendGraphics with attribution in OpenLayers, the legend comes up as expected, but without a title. I have understood that this is likely to be due to a missing <title> tag in the SLD file. However, when adding <title> to the SLD it is no longer possible to validate the SLD code. I have attached two files, working.sld and notworking.sld. The only difference is the adding of the <title> tag. What is the issue here? I have seen a number of SLD files that has the <title> inserted, and not reporting issues. Thanks. Andreas </pre> <p><strong><a href="msg19723/working.sld" ><img src="../attachment.png" alt="Attachment:" width=27 height=28></a> <a href="msg19723/working.sld" >working.sld</a></strong><br> <em>Description:</em> Binary data</p> <p><strong><a href="msg19723/notworking.sld" ><img src="../attachment.png" alt="Attachment:" width=27 height=28></a> <a href="msg19723/notworking.sld" >notworking.sld</a></strong><br> <em>Description:</em> Binary data</p> <pre>------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. <a rel="nofollow" href="http://p.sf.net/sfu/bds">http://p.sf.net/sfu/bds</a></pre><pre>_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net <a rel="nofollow" href="https://lists.sourceforge.net/lists/listinfo/geoserver-users">https://lists.sourceforge.net/lists/listinfo/geoserver-users</a> </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg19719.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#19723">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#19723">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg19729.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[Geoserver-users] SLD <title> problem</span> <span class="sender italic">Andreas Forø Tollefsen</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg19729.html">Re: [Geoserver-users] SLD <title> probl...</a></span> <span class="sender italic">Andreas Forø Tollefsen</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg19736.html">Re: [Geoserver-users] SLD <title> p...</a></span> <span class="sender italic">Jonathan Moules</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg19748.html">Re: [Geoserver-users] SLD <title&g...</a></span> <span class="sender italic">Andreas Forø Tollefsen</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg19755.html">Re: [Geoserver-users] SLD <tit...</a></span> <span class="sender italic">Jonathan Moules</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg19832.html">Re: [Geoserver-users] SLD &l...</a></span> <span class="sender italic">Andrea Aime</span></li> </ul> </ul> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[Geoserver-users] SLD <title> problem"> <input type="hidden" name="msgid" value="CAGMz7Dk=j=j0KnsnT=kZa30cN7pUGRztG5s6uqRU1c7V1Xj9hw@mail.gmail.com"> <input type="hidden" name="relpath" value="geoserver-users@lists.sourceforge.net/msg19723.html"> <input type="submit" value=" Andreas Forø Tollefsen "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="geoserver-users@lists.sourceforge.net"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search geoserver-users"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/geoserver-users@lists.sourceforge.net/">geoserver-users - all messages</a></li> <li class="icons-about"><a href="/geoserver-users@lists.sourceforge.net/info.html">geoserver-users - about the list</a></li> <li class="icons-expand"><a href="/search?l=geoserver-users@lists.sourceforge.net&q=subject:%22%5C%5BGeoserver%5C-users%5C%5D+SLD+%3Ctitle%3E+problem%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg19719.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg19729.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">CAGMz7Dk=j=j0KnsnT=kZa30cN7pUGRztG5s6uqRU1c7V1Xj9hw@mail.gmail.com</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9e58f2795cbb5b65',t:'MTc3NTA2MDY5OQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>