<P>I thought I would post my final solution, which is really only a
workaround.</P>

<P>Since no one was able or willing to help me diagnose the OpenLayers bug, I decided to try other ways to circumvent OpenLayers.  My final solution is to dynamically create an SLD file on the mapping server (for which to syntax works when styled directly in GeoServer) and reference the newly-created file in my page.</P>

<P>E.g., create the file on the map server and set the SLD by URL:</P>

<PRE>
<BLOCKQUOTE>
   myLayer.mergeNewParams({ SLD: "http://localhost:8081/geoserver/styles/MyDynamicallyCreatedSld.sld" });
</BLOCKQUOTE>
</PRE>

<P>This workaround violates good design and is a hack.  However, it works.  I can't even report the bug within the OpenLayers bug tracker.  The bug tracker won't allow me to log in (unspecified network error).  So, hopefully someday, someone from the OpenLayers development team may read my posts and address the bug.  BTW, the bug exists in 2.11 RC, too.</P>

<P>Hope this saves someone else the time this bug has cost me (~3 weeks).</P>

<P>Sincerely,<BR>
Ivan Bell</P>

        <div class="signature">Up the Irons!!!</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-SLD-Bug-tp6453498p6454827.html">Re: OpenLayers SLD Bug?</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>