[OpenLayers-Trac] [OpenLayers] #3260: Unmatched </a> tag (XHTML compliance?)

OpenLayers trac-20090302 at openlayers.org
Thu Apr 14 06:12:02 EDT 2011


#3260: Unmatched </a> tag (XHTML compliance?)
----------------------------+-----------------------------------------------
 Reporter:  manchito        |       Owner:  ahocever    
     Type:  bug             |      Status:  new         
 Priority:  minor           |   Milestone:  2.11 Release
Component:  Layer.Bing      |     Version:  SVN         
 Keywords:  tag match html  |       State:              
----------------------------+-----------------------------------------------
 The attribution HTML code for Bing layers throws an error, at least in
 xhtml strict documents:


 {{{
 Fehler: Nicht übereinstimmendes Tag. Erwartet: </a>.
 Quelldatei:
 Zeile: 1, Spalte: 383
 Quelltext:
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body xmlns="http://www.w3.org/1999/xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
       <span class="olBingAttribution road">
     <div>
       <a target="_blank" href="http://www.bing.com/maps/">
         <img
 src="http://dev.virtualearth.net/Branding/logo_powered_by.png"></img>
     </div></a>© AND © 2011 Microsoft Corporation <a style="white-space:
 nowrap" target="_blank"
 href="http://www.microsoft.com/maps/product/terms.html">Terms of
 Use</a></span></
 }}}

 I fixed it locally with the attached patch.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3260>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list