[OpenLayers-Commits] r12072 - in sandbox/bartvde/wps/openlayers: . build doc examples lib lib/OpenLayers lib/OpenLayers/Control lib/OpenLayers/Format/WMSCapabilities lib/OpenLayers/Handler lib/OpenLayers/Layer lib/OpenLayers/Renderer lib/OpenLayers/Tile tests tests/Control tests/Format tests/Format/WMSCapabilities tests/Handler tests/Layer tests/Tile tests/node.js theme/default tools

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Jun 8 09:05:13 EDT 2011


Author: bartvde
Date: 2011-06-08 06:05:12 -0700 (Wed, 08 Jun 2011)
New Revision: 12072

Added:
   sandbox/bartvde/wps/openlayers/examples/google-ng.html
   sandbox/bartvde/wps/openlayers/examples/google-ng.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/GoogleNG.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile/Google.js
   sandbox/bartvde/wps/openlayers/tests/Layer/GoogleNG.html
   sandbox/bartvde/wps/openlayers/tests/Tile/Google.html
   sandbox/bartvde/wps/openlayers/tools/branch.sh
   sandbox/bartvde/wps/openlayers/tools/rc.sh
Removed:
   sandbox/bartvde/wps/openlayers/news.txt
Modified:
   sandbox/bartvde/wps/openlayers/
   sandbox/bartvde/wps/openlayers/build/build.py
   sandbox/bartvde/wps/openlayers/doc/authors.txt
   sandbox/bartvde/wps/openlayers/examples/KMLParser.html
   sandbox/bartvde/wps/openlayers/examples/SLDSelect.html
   sandbox/bartvde/wps/openlayers/examples/WMSDescribeLayerParser.html
   sandbox/bartvde/wps/openlayers/examples/accelerometer.html
   sandbox/bartvde/wps/openlayers/examples/accessible.html
   sandbox/bartvde/wps/openlayers/examples/all-overlays-google.html
   sandbox/bartvde/wps/openlayers/examples/all-overlays.html
   sandbox/bartvde/wps/openlayers/examples/anchor-permalink.html
   sandbox/bartvde/wps/openlayers/examples/animated_panning.html
   sandbox/bartvde/wps/openlayers/examples/arcgis93rest.html
   sandbox/bartvde/wps/openlayers/examples/arcgiscache_ags.html
   sandbox/bartvde/wps/openlayers/examples/arcgiscache_direct.html
   sandbox/bartvde/wps/openlayers/examples/arcgiscache_jsonp.html
   sandbox/bartvde/wps/openlayers/examples/arcims-thematic.html
   sandbox/bartvde/wps/openlayers/examples/arcims.html
   sandbox/bartvde/wps/openlayers/examples/attribution.html
   sandbox/bartvde/wps/openlayers/examples/behavior-fixed-http-gml.html
   sandbox/bartvde/wps/openlayers/examples/bing-tiles.html
   sandbox/bartvde/wps/openlayers/examples/bing.html
   sandbox/bartvde/wps/openlayers/examples/boxes-vector.html
   sandbox/bartvde/wps/openlayers/examples/boxes.html
   sandbox/bartvde/wps/openlayers/examples/browser.html
   sandbox/bartvde/wps/openlayers/examples/buffer.html
   sandbox/bartvde/wps/openlayers/examples/canvas-hit-detection.html
   sandbox/bartvde/wps/openlayers/examples/canvas-inspector.html
   sandbox/bartvde/wps/openlayers/examples/canvas.html
   sandbox/bartvde/wps/openlayers/examples/click-handler.html
   sandbox/bartvde/wps/openlayers/examples/click.html
   sandbox/bartvde/wps/openlayers/examples/controls.html
   sandbox/bartvde/wps/openlayers/examples/cql-format.html
   sandbox/bartvde/wps/openlayers/examples/cross-origin.html
   sandbox/bartvde/wps/openlayers/examples/custom-control.html
   sandbox/bartvde/wps/openlayers/examples/custom-style.html
   sandbox/bartvde/wps/openlayers/examples/debug.html
   sandbox/bartvde/wps/openlayers/examples/document-drag.html
   sandbox/bartvde/wps/openlayers/examples/donut.html
   sandbox/bartvde/wps/openlayers/examples/doubleSetCenter.html
   sandbox/bartvde/wps/openlayers/examples/drag-feature.html
   sandbox/bartvde/wps/openlayers/examples/draw-feature.html
   sandbox/bartvde/wps/openlayers/examples/dynamic-text-layer.html
   sandbox/bartvde/wps/openlayers/examples/editingtoolbar-outside.html
   sandbox/bartvde/wps/openlayers/examples/editingtoolbar.html
   sandbox/bartvde/wps/openlayers/examples/events.html
   sandbox/bartvde/wps/openlayers/examples/example-list.html
   sandbox/bartvde/wps/openlayers/examples/example.html
   sandbox/bartvde/wps/openlayers/examples/filter-strategy.html
   sandbox/bartvde/wps/openlayers/examples/filter.html
   sandbox/bartvde/wps/openlayers/examples/fractional-zoom.html
   sandbox/bartvde/wps/openlayers/examples/fullScreen.html
   sandbox/bartvde/wps/openlayers/examples/game-accel-ball.html
   sandbox/bartvde/wps/openlayers/examples/geojson.html
   sandbox/bartvde/wps/openlayers/examples/geolocation.html
   sandbox/bartvde/wps/openlayers/examples/georss-flickr.html
   sandbox/bartvde/wps/openlayers/examples/georss-markers.html
   sandbox/bartvde/wps/openlayers/examples/georss.html
   sandbox/bartvde/wps/openlayers/examples/getfeature-wfs.html
   sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-control.html
   sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-popup.html
   sandbox/bartvde/wps/openlayers/examples/gml-layer.html
   sandbox/bartvde/wps/openlayers/examples/google-reproject.html
   sandbox/bartvde/wps/openlayers/examples/google-v3-alloverlays.html
   sandbox/bartvde/wps/openlayers/examples/google-v3.html
   sandbox/bartvde/wps/openlayers/examples/google.html
   sandbox/bartvde/wps/openlayers/examples/graphic-name.html
   sandbox/bartvde/wps/openlayers/examples/graticule.html
   sandbox/bartvde/wps/openlayers/examples/gutter.html
   sandbox/bartvde/wps/openlayers/examples/highlight-feature.html
   sandbox/bartvde/wps/openlayers/examples/hover-handler.html
   sandbox/bartvde/wps/openlayers/examples/image-layer.html
   sandbox/bartvde/wps/openlayers/examples/intersects.html
   sandbox/bartvde/wps/openlayers/examples/kamap.html
   sandbox/bartvde/wps/openlayers/examples/kinetic.html
   sandbox/bartvde/wps/openlayers/examples/kml-layer.html
   sandbox/bartvde/wps/openlayers/examples/kml-pointtrack.html
   sandbox/bartvde/wps/openlayers/examples/kml-track.html
   sandbox/bartvde/wps/openlayers/examples/late-render.html
   sandbox/bartvde/wps/openlayers/examples/layer-opacity.html
   sandbox/bartvde/wps/openlayers/examples/layerLoadMonitoring.html
   sandbox/bartvde/wps/openlayers/examples/layerswitcher.html
   sandbox/bartvde/wps/openlayers/examples/lite.html
   sandbox/bartvde/wps/openlayers/examples/mapguide.html
   sandbox/bartvde/wps/openlayers/examples/mapserver.html
   sandbox/bartvde/wps/openlayers/examples/mapserver_untiled.html
   sandbox/bartvde/wps/openlayers/examples/marker-shadow.html
   sandbox/bartvde/wps/openlayers/examples/markerResize.html
   sandbox/bartvde/wps/openlayers/examples/markers.html
   sandbox/bartvde/wps/openlayers/examples/markersTextLayer.html
   sandbox/bartvde/wps/openlayers/examples/measure.html
   sandbox/bartvde/wps/openlayers/examples/mm.html
   sandbox/bartvde/wps/openlayers/examples/mobile-base.js
   sandbox/bartvde/wps/openlayers/examples/mobile-drawing.js
   sandbox/bartvde/wps/openlayers/examples/mobile-layers.js
   sandbox/bartvde/wps/openlayers/examples/mobile-navigation.html
   sandbox/bartvde/wps/openlayers/examples/mobile-navigation.js
   sandbox/bartvde/wps/openlayers/examples/mobile.js
   sandbox/bartvde/wps/openlayers/examples/modify-feature.html
   sandbox/bartvde/wps/openlayers/examples/mouse-position.html
   sandbox/bartvde/wps/openlayers/examples/mousewheel-interval.html
   sandbox/bartvde/wps/openlayers/examples/multimap-mercator.html
   sandbox/bartvde/wps/openlayers/examples/multiserver.html
   sandbox/bartvde/wps/openlayers/examples/multitouch.html
   sandbox/bartvde/wps/openlayers/examples/mvs.html
   sandbox/bartvde/wps/openlayers/examples/navigation-control.html
   sandbox/bartvde/wps/openlayers/examples/navigation-history.html
   sandbox/bartvde/wps/openlayers/examples/navtoolbar-alwaysZoom.html
   sandbox/bartvde/wps/openlayers/examples/navtoolbar-outsidemap.html
   sandbox/bartvde/wps/openlayers/examples/navtoolbar.html
   sandbox/bartvde/wps/openlayers/examples/openls.html
   sandbox/bartvde/wps/openlayers/examples/ordering.html
   sandbox/bartvde/wps/openlayers/examples/osm-google.html
   sandbox/bartvde/wps/openlayers/examples/osm-layer.html
   sandbox/bartvde/wps/openlayers/examples/osm.html
   sandbox/bartvde/wps/openlayers/examples/outOfRangeMarkers.html
   sandbox/bartvde/wps/openlayers/examples/overviewmap.html
   sandbox/bartvde/wps/openlayers/examples/pan-zoom-panels.html
   sandbox/bartvde/wps/openlayers/examples/panel.html
   sandbox/bartvde/wps/openlayers/examples/point-track-markers.html
   sandbox/bartvde/wps/openlayers/examples/popupMatrix.html
   sandbox/bartvde/wps/openlayers/examples/popups.html
   sandbox/bartvde/wps/openlayers/examples/projected-map.html
   sandbox/bartvde/wps/openlayers/examples/protocol-gears.html
   sandbox/bartvde/wps/openlayers/examples/regular-polygons.html
   sandbox/bartvde/wps/openlayers/examples/resize-features.html
   sandbox/bartvde/wps/openlayers/examples/restricted-extent.html
   sandbox/bartvde/wps/openlayers/examples/rotate-features.html
   sandbox/bartvde/wps/openlayers/examples/select-feature-multilayer.html
   sandbox/bartvde/wps/openlayers/examples/select-feature-openpopup.html
   sandbox/bartvde/wps/openlayers/examples/select-feature.html
   sandbox/bartvde/wps/openlayers/examples/setextent.html
   sandbox/bartvde/wps/openlayers/examples/simplify-linestring.html
   sandbox/bartvde/wps/openlayers/examples/single-tile.html
   sandbox/bartvde/wps/openlayers/examples/sld-parser.html
   sandbox/bartvde/wps/openlayers/examples/sld.html
   sandbox/bartvde/wps/openlayers/examples/snap-split.html
   sandbox/bartvde/wps/openlayers/examples/snapping.html
   sandbox/bartvde/wps/openlayers/examples/sos.html
   sandbox/bartvde/wps/openlayers/examples/spherical-mercator.html
   sandbox/bartvde/wps/openlayers/examples/split-feature.html
   sandbox/bartvde/wps/openlayers/examples/strategy-bbox.html
   sandbox/bartvde/wps/openlayers/examples/strategy-cluster-extended.html
   sandbox/bartvde/wps/openlayers/examples/strategy-cluster-threshold.html
   sandbox/bartvde/wps/openlayers/examples/strategy-cluster.html
   sandbox/bartvde/wps/openlayers/examples/strategy-paging.html
   sandbox/bartvde/wps/openlayers/examples/style-rules.html
   sandbox/bartvde/wps/openlayers/examples/stylemap.html
   sandbox/bartvde/wps/openlayers/examples/styles-context.html
   sandbox/bartvde/wps/openlayers/examples/styles-rotation.html
   sandbox/bartvde/wps/openlayers/examples/styles-unique.html
   sandbox/bartvde/wps/openlayers/examples/sundials-spherical-mercator.html
   sandbox/bartvde/wps/openlayers/examples/sundials.html
   sandbox/bartvde/wps/openlayers/examples/symbolizers-fill-stroke-graphic.html
   sandbox/bartvde/wps/openlayers/examples/teleportation.html
   sandbox/bartvde/wps/openlayers/examples/tile-origin.html
   sandbox/bartvde/wps/openlayers/examples/tilecache.html
   sandbox/bartvde/wps/openlayers/examples/tms.html
   sandbox/bartvde/wps/openlayers/examples/transform-feature.html
   sandbox/bartvde/wps/openlayers/examples/transition.html
   sandbox/bartvde/wps/openlayers/examples/urban.html
   sandbox/bartvde/wps/openlayers/examples/ve-novibrate.html
   sandbox/bartvde/wps/openlayers/examples/ve.html
   sandbox/bartvde/wps/openlayers/examples/vector-features-with-text.html
   sandbox/bartvde/wps/openlayers/examples/vector-features.html
   sandbox/bartvde/wps/openlayers/examples/vector-formats.html
   sandbox/bartvde/wps/openlayers/examples/web-mercator.html
   sandbox/bartvde/wps/openlayers/examples/wfs-filter.html
   sandbox/bartvde/wps/openlayers/examples/wfs-protocol-transactions.html
   sandbox/bartvde/wps/openlayers/examples/wfs-protocol.html
   sandbox/bartvde/wps/openlayers/examples/wfs-reprojection.html
   sandbox/bartvde/wps/openlayers/examples/wfs-snap-split.html
   sandbox/bartvde/wps/openlayers/examples/wfs-states.html
   sandbox/bartvde/wps/openlayers/examples/wmc.html
   sandbox/bartvde/wps/openlayers/examples/wms-long-url.html
   sandbox/bartvde/wps/openlayers/examples/wms-untiled.html
   sandbox/bartvde/wps/openlayers/examples/wms-v13.html
   sandbox/bartvde/wps/openlayers/examples/wms.html
   sandbox/bartvde/wps/openlayers/examples/wmst.html
   sandbox/bartvde/wps/openlayers/examples/wmts-capabilities.html
   sandbox/bartvde/wps/openlayers/examples/wmts-getfeatureinfo.html
   sandbox/bartvde/wps/openlayers/examples/wmts.html
   sandbox/bartvde/wps/openlayers/examples/worldwind.html
   sandbox/bartvde/wps/openlayers/examples/wrapDateLine.html
   sandbox/bartvde/wps/openlayers/examples/xhtml.html
   sandbox/bartvde/wps/openlayers/examples/xml.html
   sandbox/bartvde/wps/openlayers/examples/xyz-esri.html
   sandbox/bartvde/wps/openlayers/examples/xyz-offset.html
   sandbox/bartvde/wps/openlayers/examples/yahoo.html
   sandbox/bartvde/wps/openlayers/examples/zoomLevels.html
   sandbox/bartvde/wps/openlayers/examples/zoomify.html
   sandbox/bartvde/wps/openlayers/lib/OpenLayers.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Control/DragPan.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Box.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Path.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Point.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Polygon.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/Bing.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/EventPane.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/TMS.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/WMS.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/XYZ.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/Elements.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/NG.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG2.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/VML.js
   sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile.js
   sandbox/bartvde/wps/openlayers/tests/Control/DrawFeature.html
   sandbox/bartvde/wps/openlayers/tests/Control/LayerSwitcher.html
   sandbox/bartvde/wps/openlayers/tests/Control/Measure.html
   sandbox/bartvde/wps/openlayers/tests/Format/GeoRSS.html
   sandbox/bartvde/wps/openlayers/tests/Format/WMSCapabilities/v1_1_1.html
   sandbox/bartvde/wps/openlayers/tests/Handler/Box.html
   sandbox/bartvde/wps/openlayers/tests/Handler/Path.html
   sandbox/bartvde/wps/openlayers/tests/Handler/Point.html
   sandbox/bartvde/wps/openlayers/tests/Handler/Polygon.html
   sandbox/bartvde/wps/openlayers/tests/Layer/Bing.html
   sandbox/bartvde/wps/openlayers/tests/Layer/WMS.html
   sandbox/bartvde/wps/openlayers/tests/list-tests.html
   sandbox/bartvde/wps/openlayers/tests/node.js/mockdom.js
   sandbox/bartvde/wps/openlayers/theme/default/style.css
   sandbox/bartvde/wps/openlayers/tools/release.sh
Log:
merge with trunk


Property changes on: sandbox/bartvde/wps/openlayers
___________________________________________________________________
Modified: svn:mergeinfo
   - /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11919-11982
   + /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11919-11982,11984-12071

Modified: sandbox/bartvde/wps/openlayers/build/build.py
===================================================================
--- sandbox/bartvde/wps/openlayers/build/build.py	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/build/build.py	2011-06-08 13:05:12 UTC (rev 12072)
@@ -70,7 +70,7 @@
 
 if __name__ == '__main__':
   opt = optparse.OptionParser(usage="%s [options] [config_file] [output_file]\n  Default config_file is 'full.cfg', Default output_file is 'OpenLayers.js'")
-  opt.add_option("-c", "--compressor", dest="compressor", help="compression method: one of 'jsmin', 'minimize', or 'none'", default="jsmin")
+  opt.add_option("-c", "--compressor", dest="compressor", help="compression method: one of 'jsmin', 'minimize', 'closure_ws', 'closure', or 'none'", default="jsmin")
   (options, args) = opt.parse_args()
   if not len(args):
     build(options=options)

Modified: sandbox/bartvde/wps/openlayers/doc/authors.txt
===================================================================
--- sandbox/bartvde/wps/openlayers/doc/authors.txt	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/doc/authors.txt	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,11 @@
 OpenLayers contributors:
 
+Antoine Abt
 Mike Adair
 Jeff Adams
 Seb Benthall
+Bruno Binet
+Stéphane Brunner
 Howard Butler
 Bertil Chaupis                                                               
 John Cole
@@ -17,7 +20,9 @@
 Pierre Giraud
 Ivan Grcic
 Andreas Hocevar
+Marc Jansen
 Ian Johnson
+Frédéric Junod
 Eric Lemoine
 Philip Lindsay
 Martijn van Oosterhout

Modified: sandbox/bartvde/wps/openlayers/examples/KMLParser.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/KMLParser.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/KMLParser.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers KML Parser Example</title>
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         function parseData(req) {
@@ -44,8 +46,9 @@
       <div id="output"></div>
 
       <div id="docs">
-          This script reads data from a KML file and parses out the coordinates, appending them to a HTML string with markup tags.
-          This markup is dumped to an element in the page.
+          <p>This script reads data from a KML file and parses out the
+          coordinates, appending them to a HTML string with markup tags.
+          This markup is dumped to an element in the page.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/SLDSelect.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/SLDSelect.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/SLDSelect.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers SLD based selection control</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlSLDSelectBoxActive {
             cursor: crosshair;

Modified: sandbox/bartvde/wps/openlayers/examples/WMSDescribeLayerParser.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/WMSDescribeLayerParser.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/WMSDescribeLayerParser.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,14 +1,16 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers WMSDescribeLayer Parser Example</title>
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         function parseData(req) {
           format =  new OpenLayers.Format.WMSDescribeLayer();
-          html = "<br />"
+          html = "<br>"
           resp = format.read(req.responseText);
           for(var i = 0; i < resp.length; i++) {
             html += "Layer: typeName: "+ resp[i].typeName+",";
@@ -38,8 +40,9 @@
       <div id="output"></div>
 
       <div id="docs">
-          This script reads data from a file and parses out the coordinates, appending them to a HTML string with markup tags.
-          This markup is dumped to an element in the page.
+          <p>This script reads data from a file and parses out the coordinates,
+          appending them to a HTML string with markup tags. This markup is
+          dumped to an element in the page.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/accelerometer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/accelerometer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/accelerometer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-    <meta name="apple-mobile-web-app-capable" content="yes"/>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Accelerometer Usage</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
-    <link rel="stylesheet" href="style.css" type="text/css"/>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script type="text/javascript" src="browser.js"></script>
 
     <style type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/accessible.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/accessible.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/accessible.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Accessible Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             table {
                 border: 1 px solid white;
@@ -110,7 +112,7 @@
         </table>
 
         <div id="docs">
-            <p>Navigate the map in one of three ways:
+            <p>Navigate the map in one of three ways:</p>
                 <ul>
                     <li>Click on the named links to zoom and pan</li>
                     <li>Use following keys to pan and zoom:
@@ -134,7 +136,7 @@
                         </ul>
                     </li>
                 </ul>
-            </p>
+            <p>
 
             This is an example of using alternate methods to control panning and zooming.  This approach uses map.pan() and map.zoom().  You'll note that to pan, additional math is necessary along with map.size() in order to set the distance to pan.
         </div>

Modified: sandbox/bartvde/wps/openlayers/examples/all-overlays-google.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/all-overlays-google.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/all-overlays-google.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers All Overlays with Google and OSM</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/all-overlays.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/all-overlays.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/all-overlays.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>All Overlays Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map;

Modified: sandbox/bartvde/wps/openlayers/examples/anchor-permalink.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/anchor-permalink.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/anchor-permalink.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
+<!DOCTYPE html>
 <html>
     <head>
-        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> 
-        <meta name="apple-mobile-web-app-capable" content="yes" />
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> 
+        <meta name="apple-mobile-web-app-capable" content="yes">
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <title>AnchorPermalink Example</title>
         <script src="../lib/OpenLayers.js"></script>
         <script src="anchor-permalink.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/animated_panning.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/animated_panning.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/animated_panning.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Animated Panning of the Map via map.panTo</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer, running = false;
@@ -81,7 +83,7 @@
     <div id="shortdesc">Show animated panning effects in the map</div>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        <p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br />
+        <p>This is an example of transition effects. If the new random center is in the current extent, the map will pan smoothly. <br>
         The random selection will continue until you press it again. Additionally, you can single click in the map to pan smoothly
         to that area, or use the pan control to pan smoothly.
         </p>

Modified: sandbox/bartvde/wps/openlayers/examples/arcgis93rest.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcgis93rest.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcgis93rest.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/arcgiscache_ags.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcgiscache_ags.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcgiscache_ags.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,10 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
     <title>OpenLayers ArcGIS Cache Example (MapServer Access)</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script src="../lib/OpenLayers.js"></script>
     <script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/arcgiscache_direct.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcgiscache_direct.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcgiscache_direct.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,10 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
         <title>ArcGIS Server Map Cache Example (Direct Access)</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js" type="text/javascript"></script>
         <script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>
         <script type="text/javascript">
@@ -93,7 +95,7 @@
             layer in conf.xml at the root of your cache. 
             (ie. <a href="http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml">http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml</a>)</p>
 
-            <p>For fused map caches this is often http:<i>ServerName</i>/arcgiscache/<i>MapServiceName</i>/Layers <br />
+            <p>For fused map caches this is often http:<i>ServerName</i>/arcgiscache/<i>MapServiceName</i>/Layers <br>
             For individual layer caches this is often  http:<i>ServerName</i>/arcgiscache/<i>LayerName</i>/Layers </p>
             
             <h2> Other Examples </h2>

Modified: sandbox/bartvde/wps/openlayers/examples/arcgiscache_jsonp.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcgiscache_jsonp.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcgiscache_jsonp.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,10 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
     <title>OpenLayers ArcGIS Cache Example (Autoconfigure with JSONP)</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
 
     <script src="../lib/OpenLayers.js"></script>
     <script src="../lib/OpenLayers/Layer/ArcGISCache.js" type="text/javascript"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/arcims-thematic.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcims-thematic.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcims-thematic.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>ArcIMS Thematic Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 0;

Modified: sandbox/bartvde/wps/openlayers/examples/arcims.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/arcims.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/arcims.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>ArcIMS Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 0;

Modified: sandbox/bartvde/wps/openlayers/examples/attribution.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/attribution.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/attribution.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Attribution Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
 
         <script type="text/javascript">
@@ -26,8 +28,10 @@
                 map.addLayers([ol_wms, jpl_wms, vector]);
 
                 map.addControl(new OpenLayers.Control.LayerSwitcher());
-                map.addControl(new OpenLayers.Control.Attribution());
-                // map.setCenter(new OpenLayers.LonLat(0, 0), 0);
+                // OpenLayers.Control.Attribution is one of the default
+                // controls - only needs to be added when the map instance is
+                // created with the controls option
+                //map.addControl(new OpenLayers.Control.Attribution());
                 map.zoomToMaxExtent();
             }
         </script>
@@ -46,11 +50,11 @@
         <div id="map" class="smallmap"></div>
 
         <div id="docs">
-            This is an example of how to add an attribution block to the OpenLayers window.  In order to use an
+            <p>This is an example of how to add an attribution block to the OpenLayers window.  In order to use an
             attribution block, an attribution parameter must be set in each layer that requires attribution. In
             addition, an attribution control must be added to the map, though one is added to all OpenLayers Maps by default. 
             Be aware that this is a layer <strong>option</strong>: the options hash goes in
-            different places depending on the layer type you are using.  
+            different places depending on the layer type you are using.</p> 
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/behavior-fixed-http-gml.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/behavior-fixed-http-gml.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/behavior-fixed-http-gml.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Vector Behavior Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map;
@@ -41,14 +43,14 @@
         </p>
         <div id="map" class="smallmap"></div>
         <div id="docs">
-            The vector layer shown uses the Fixed strategy, the HTTP protocol,
+            <p>The vector layer shown uses the Fixed strategy, the HTTP protocol,
             and the GML format.
             The Fixed strategy is a simple strategy that fetches features once
             and never re-requests new data.
             The HTTP protocol makes requests using HTTP verbs.  It should be
             constructed with a url that corresponds to a collection of features
             (a resource on some server).
-            The GML format is used to serialize features.
+            The GML format is used to serialize features.</p>
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/bing-tiles.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/bing-tiles.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/bing-tiles.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,16 +1,18 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Bing Tiles Example</title>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
     .olControlAttribution {
-        left: 5px;
+        left: 2px;
         right: inherit;
-        bottom: 5px; 
+        bottom: 3px;
+        line-height: 11px; 
     }
     </style>
   </head>

Modified: sandbox/bartvde/wps/openlayers/examples/bing.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/bing.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/bing.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Bing Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=en-us"></script>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
+    <script src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&amp;mkt=en-us"></script>
 
     <script src="../lib/OpenLayers.js"></script>
     <script>
@@ -53,7 +54,8 @@
     </p>
 
     <div id="map" class="smallmap"></div>
-    <div id="docs">This example demonstrates the ability to create layers using tiles from Bing maps.</div>
+    <div id="docs"><p>This example demonstrates the ability to create layers
+        using tiles from Bing maps.</p></div>
   </body>
 </html>
 

Modified: sandbox/bartvde/wps/openlayers/examples/boxes-vector.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/boxes-vector.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/boxes-vector.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Boxes Vector Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var box_extents = [
@@ -24,7 +26,7 @@
     
                 for (var i = 0; i < box_extents.length; i++) {
                     ext = box_extents[i];
-                    bounds = new OpenLayers.Bounds(ext[0], ext[1], ext[2], ext[3]);
+                    bounds = OpenLayers.Bounds.fromArray(ext);
                     
                     box = new OpenLayers.Feature.Vector(bounds.toGeometry());
                     boxes.addFeatures(box);

Modified: sandbox/bartvde/wps/openlayers/examples/boxes.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/boxes.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/boxes.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Boxes Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var box_extents = [
@@ -24,7 +26,7 @@
     
                 for (var i = 0; i < box_extents.length; i++) {
                     ext = box_extents[i];
-                    bounds = new OpenLayers.Bounds(ext[0], ext[1], ext[2], ext[3]);
+                    bounds = OpenLayers.Bounds.fromArray(ext);
                     box = new OpenLayers.Marker.Box(bounds);
                     box.events.register("click", box, function (e) {
                         this.setBorder("yellow");

Modified: sandbox/bartvde/wps/openlayers/examples/browser.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/browser.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/browser.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-    <meta name="apple-mobile-web-app-capable" content="yes"/>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Browser Detection</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
-    <link rel="stylesheet" href="style.css" type="text/css"/>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script type="text/javascript" src="browser.js"></script>
     <style type="text/css">
         .olControlAttribution {

Modified: sandbox/bartvde/wps/openlayers/examples/buffer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/buffer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/buffer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Buffer Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var lon = 0;

Modified: sandbox/bartvde/wps/openlayers/examples/canvas-hit-detection.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/canvas-hit-detection.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/canvas-hit-detection.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <title>OpenLayers Canvas Hit Detection Example</title>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
         <meta name="apple-mobile-web-app-capable" content="yes">
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/canvas-inspector.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/canvas-inspector.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/canvas-inspector.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -2,6 +2,7 @@
 <html>
     <head>
         <title>OpenLayers Canvas Inspector</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/canvas.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/canvas.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/canvas.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Canvas Renderer Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
         <script src="canvas.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/click-handler.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/click-handler.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/click-handler.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Click Handler Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #map {
                 width: 340px;

Modified: sandbox/bartvde/wps/openlayers/examples/click.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/click.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/click.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Click Event Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {                
@@ -79,11 +81,11 @@
         <div id="map" class="smallmap"></div>
     
         <div id="docs">
-            Using the Click handler allows you to (for example) catch clicks 
+            <p>Using the Click handler allows you to (for example) catch clicks 
             without catching double clicks, something that standard browser 
             events don't do for you. (Try double clicking: you'll zoom in, 
             whereas using the browser click event, you would just get two 
-            alerts.) This example click control shows you how to use it. 
+            alerts.) This example click control shows you how to use it.</p> 
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/controls.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/controls.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/controls.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Map Controls Example</title>
 
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map;

Modified: sandbox/bartvde/wps/openlayers/examples/cql-format.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/cql-format.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/cql-format.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>
             OpenLayers CQL Example
         </title>

Modified: sandbox/bartvde/wps/openlayers/examples/cross-origin.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/cross-origin.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/cross-origin.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -2,10 +2,11 @@
 <html>
     <head>
         <title>OpenLayers Script Protocol Example</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">
-        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-        <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <script src="../lib/OpenLayers.js"></script>
     </head>
     <body>

Modified: sandbox/bartvde/wps/openlayers/examples/custom-control.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/custom-control.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/custom-control.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Custom Control Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var lon = 5;
@@ -58,9 +60,9 @@
         <div id="map" class="smallmap"></div>
 
         <div id="docs">
-            The control allows you to draw a rectangle, that reports its coordinates
+            <p>The control allows you to draw a rectangle, that reports its coordinates
             after creation. Hold down the shift key on your keyboard and draw a 
-            rectangle with the mouse.
+            rectangle with the mouse.</p>
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/custom-style.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/custom-style.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/custom-style.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Custom Style Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             p {
                 width: 500px;

Modified: sandbox/bartvde/wps/openlayers/examples/debug.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/debug.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/debug.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Debug Example</title>
-        <link rel="stylesheet" href="style.css" type="text/css" />        
+        <link rel="stylesheet" href="style.css" type="text/css">        
         <script src="../lib/Firebug/firebug.js"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
@@ -39,16 +39,16 @@
 
         <div id="docs">
             <p>To run OpenLayers in debug mode, include the following script
-            tag <b>before</b> the tag that loads OpenLayers:
+            tag <b>before</b> the tag that loads OpenLayers:</p>
 
             <pre>    &lt;script src="../lib/Firebug/firebug.js"&gt;&lt;/script&gt;</pre>
 
-            The path to firebug.js must be relative to your
+            <p>The path to firebug.js must be relative to your
             html file.  With this script included calls to OpenLayers.Console
             will be displayed in the Firebug console.  For browsers without
             the Firebug extension, the script creates a Firebug Lite console.
             This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b>
-            (<b>?+Shift+L</b> on a Mac).  If you want the Firebug Lite console
+            (<b>Command+Shift+L</b> on a Mac).  If you want the Firebug Lite console
             to be open when the page loads, add <b>debug="true"</b> to the opening
             html tag of your page.  Open the console and click on the links below
             to see console calls.</p>

Modified: sandbox/bartvde/wps/openlayers/examples/document-drag.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/document-drag.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/document-drag.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Document Drag Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -35,7 +37,7 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        This example shows how to make a map draggable outside of the map itself.
+        <p>This example shows how to make a map draggable outside of the map itself.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/donut.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/donut.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/donut.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Polygon Hole Digitizing</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/doubleSetCenter.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/doubleSetCenter.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/doubleSetCenter.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,14 @@
+<!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Double Set Center Example</title>
        
         <script src="../lib/OpenLayers.js"></script>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
     </head>
     <body>
         <h1 id="title">Double Set Center Example</h1>
@@ -16,7 +18,7 @@
         </div>
 
         <p id="shortdesc">
-            Demonstrate the behavior of two calls to set the center after instatiating the layer object.
+            Demonstrate the behavior of two calls to set the center after instantiating the layer object.
         </p>
 
         <div id="map" class="smallmap"></div>

Modified: sandbox/bartvde/wps/openlayers/examples/drag-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/drag-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/drag-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Drag Feature Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #controls {
                 width: 512px;

Modified: sandbox/bartvde/wps/openlayers/examples/draw-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/draw-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/draw-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Draw Feature Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #controlToggle li {
                 list-style: none;

Modified: sandbox/bartvde/wps/openlayers/examples/dynamic-text-layer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/dynamic-text-layer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/dynamic-text-layer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Vector Behavior Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map;
@@ -82,20 +84,18 @@
         </p>
         <div id="map" class="smallmap"></div>
         <div id="docs">
-            The vector layer shown uses the BBOX strategy, the HTTP protocol,
+            <p>The vector layer shown uses the BBOX strategy, the HTTP protocol,
             and the Text format.
             This setup appends "?bbox=west,south,east,north" to every
             request. This allows you to configure the location as something
             like 'textfile.php', and take the '?bbox=' parameter to select
-            data from a database or the like.
-<br /><br />
-            There is nothing about this example that limits it to text files;
-            you can do the same thing with KML, GeoJSON, etc.
-            <br /><br />
-            This is an alternative to something like the <a href="http://wiki.openstreetmap.org/index.php/OpenLayers_Dynamic_POI">OpenStreetMap "Dynamic POI"</a> example. The Layer is a standard vector layer, and interaction can be
+            data from a database or the like.</p>
+            <p>There is nothing about this example that limits it to text files;
+            you can do the same thing with KML, GeoJSON, etc.</p>
+            <p>This is an alternative to something like the <a href="http://wiki.openstreetmap.org/index.php/OpenLayers_Dynamic_POI">OpenStreetMap "Dynamic POI"</a> example. The Layer is a standard vector layer, and interaction can be
             configured via the SelectFeature control, as you can see in the 
             latter half of the code, which allows you to open a popup when
-            a feature is selected.
+            a feature is selected.</p>
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/editingtoolbar-outside.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/editingtoolbar-outside.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/editingtoolbar-outside.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Custom Editing Toolbar</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlEditingToolbar  {
             float:left;

Modified: sandbox/bartvde/wps/openlayers/examples/editingtoolbar.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/editingtoolbar.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/editingtoolbar.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,17 +1,18 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Editing Toolbar Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <!--[if lte IE 6]>
-            <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
+            <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
         <![endif]-->
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
-        <script src="../lib/Firebug/debug.js"></script>
+        <script src="../lib/Firebug/firebug.js"></script>
         <script type="text/javascript">
             var lon = 5;
             var lat = 40;

Modified: sandbox/bartvde/wps/openlayers/examples/events.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/events.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/events.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Event Handling</title>
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #panel {
                 margin: 5px;

Modified: sandbox/bartvde/wps/openlayers/examples/example-list.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/example-list.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/example-list.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
+<!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <!-- This is the example list source: if you are trying to look at the 
         source of an example, YOU ARE IN THE WRONG PLACE. If you want to view
         the source of just one example, you can typically choose 
@@ -11,7 +12,7 @@
         click on the link), and view source from there. -->  
         <title>OpenLayers Examples</title>
         <link rel="alternate" href="example-list.xml" type="application/atom+xml" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             html, body {
                 margin: 0;
@@ -281,7 +282,7 @@
                 <a jugl:attributes="href example.link" class="mainlink"
                     target="_blank">
                         <h5 class="ex_title">
-                            <span jugl:replace="example.title">title</span><br />
+                            <span jugl:replace="example.title">title</span><br>
                             <span class="ex_filename" jugl:content="'(' + example.example + ')'">filename</span>
                         </h5>
                         <div class="ex_description" jugl:content="example.shortdesc">

Modified: sandbox/bartvde/wps/openlayers/examples/example.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/example.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/example.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/filter-strategy.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/filter-strategy.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/filter-strategy.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Filter Strategy Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/filter.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/filter.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/filter.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style>
     #in {
         width: 90%;
@@ -94,11 +96,11 @@
     ]
 });
     </textarea>
-    <button id="write">write</button><br />
+    <button id="write">write</button><br>
     Filter Encoding 1.0
-    <textarea id="out0"></textarea><br />
+    <textarea id="out0"></textarea><br>
     Filter Encoding 1.1
-    <textarea id="out1"></textarea><br />
+    <textarea id="out1"></textarea><br>
     <p id="docs">
     </p>
   </body>

Modified: sandbox/bartvde/wps/openlayers/examples/fractional-zoom.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/fractional-zoom.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/fractional-zoom.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;
@@ -53,7 +55,7 @@
                id="fractional" checked="checked" onclick="update(this)" />
         <label for="fractional">Fractional Zoom</label>
         (zoom: <span id="zoom"></span>)
-        <br /><br />
+        <br><br>
     <div id="docs">
             <p>
             Setting the map.fractionalZoom property to true allows zooming to

Modified: sandbox/bartvde/wps/openlayers/examples/fullScreen.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/fullScreen.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/fullScreen.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Full Screen Example</title>        
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             html, body, #map {
                 margin: 0;

Modified: sandbox/bartvde/wps/openlayers/examples/game-accel-ball.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/game-accel-ball.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/game-accel-ball.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Game: Bounce Ball</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js?mobile"></script>
     <style type="text/css">
       html, body { height: 100%; }
@@ -74,7 +76,7 @@
 
     <div id="map" width="100%" height="100%" style="background-color: grey"></div>
     <div id="docs">
-      Demo works best when device is locked in portrait mode. 
+      <p>Demo works best when device is locked in portrait mode.</p> 
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/geojson.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/geojson.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/geojson.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -69,7 +71,7 @@
     </p>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        This example uses the GeoJSON format.
+        <p>This example uses the GeoJSON format.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/geolocation.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/geolocation.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/geolocation.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
     <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
         <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Geolocation</title>

Modified: sandbox/bartvde/wps/openlayers/examples/georss-flickr.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/georss-flickr.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/georss-flickr.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olPopupContent {
             font-size: smaller;

Modified: sandbox/bartvde/wps/openlayers/examples/georss-markers.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/georss-markers.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/georss-markers.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers GeoRSS Marker Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;

Modified: sandbox/bartvde/wps/openlayers/examples/georss.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/georss.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/georss.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers GeoRSS Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -45,11 +47,11 @@
         <p>This demo uses the OpenLayers GeoRSS parser, which supports GeoRSS Simple and W3C GeoRSS. Only points are
         currently supported.  The OpenLayers GeoRSS parser will automatically connect an information bubble to the map
         markers, similar to Google maps.  In addition, the parser can use custom PNG icons for markers.  A sample GeoRSS
-        file (georss.xml) is included.
+        file (georss.xml) is included.</p>
 
         <form onsubmit="return false;">
                GeoRSS URL: <input type="text" id="url" size="50" value="georss.xml" />
-               <input type="submit" onclick="addUrl(); return false;" value="Load Feed" onsubmit="addUrl(); return false;" />
+               <input type="submit" onclick="addUrl(); return false;" value="Load Feed" onsubmit="addUrl(); return false;">
         </form>
 
         <p>The above input box allows the input of a URL to a GeoRSS feed. This feed can be local to the HTML page &mdash;

Modified: sandbox/bartvde/wps/openlayers/examples/getfeature-wfs.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/getfeature-wfs.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/getfeature-wfs.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <title>WFS: GetFeature Example (GeoServer)</title>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
@@ -78,9 +80,5 @@
         of GetFeature requests to be issued.
     </p>
 </div>
-  </body>
-</html>
-
-
-
-</div>
+</body>
+</html>
\ No newline at end of file

Modified: sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-control.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-control.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-control.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
+<!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers WMS Feature Info Example (GeoServer)</title>
     <script src="../lib/OpenLayers.js"></script>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         ul, li {
             padding-left: 0px;
@@ -44,7 +46,7 @@
 
 
     </style>
-  <script defer="defer" type="text/javascript">
+    <script defer="defer" type="text/javascript">
     OpenLayers.ProxyHost = "proxy.cgi?url=";
     
     var map, infocontrols, water, highlightlayer;
@@ -157,7 +159,7 @@
     }
 
     // function toggle(key
-  </script>
+    </script>
   </head>
   <body onload="load()">
       <h1 id="title">Feature Info Example</h1>

Modified: sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-popup.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-popup.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/getfeatureinfo-popup.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
+<!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>GetFeatureInfo Popup</title>
     <script src="../lib/OpenLayers.js"></script>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script>
     OpenLayers.ProxyHost = "proxy.cgi?url=";
     

Modified: sandbox/bartvde/wps/openlayers/examples/gml-layer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/gml-layer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/gml-layer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
       <title>OpenLayers GML Layer Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -31,7 +33,7 @@
 
       <p id="shortdesc">
           Loads locally stored GML vector data on a basemap. Includes GML example file.
-    </p>
+      </p>
 
     <div id="map" class="smallmap"></div>
 

Copied: sandbox/bartvde/wps/openlayers/examples/google-ng.html (from rev 12071, trunk/openlayers/examples/google-ng.html)
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google-ng.html	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/examples/google-ng.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
+        <title>OpenLayers Google NG Layer Example</title>
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
+        <style type="text/css">
+        .olControlAttribution {
+            left: 2px;
+            right: inherit;
+            bottom: 3px; 
+            line-height: 11px;
+            font-family: Arial, sans-serif;
+        }
+        </style>
+        <script src="http://maps.google.com/maps/api/js?v=3.5&amp;sensor=false"></script>
+        <script src="../lib/OpenLayers.js"></script>
+        <script src="google-ng.js"></script>
+    </head>
+    <body onload="init()">
+        <h1 id="title">Google NG Layer Example</h1>
+        <div id="tags">
+            Google, api key, apikey
+        </div>
+        <p id="shortdesc">
+            Demonstrate use of tiles from the Google Maps v3 API.
+        </p>
+        <div id="map" class="smallmap"></div>
+        <div id="docs">
+            <p>
+                If you use OpenLayers.Layer.GoogleNG, the getTile method of the
+                GMaps v3 API's MapType is used to load tiles.  This allows for
+                better integration than interacting with a whole map generated
+                by a google.maps.Map instance, as done with
+                OpenLayers.Layer.Google.  See the
+                <a href="google-ng.js" target="_blank">google-ng.js source</a> 
+                to see how this is done.
+            </p>
+        </div>
+    </body>
+</html>

Copied: sandbox/bartvde/wps/openlayers/examples/google-ng.js (from rev 12071, trunk/openlayers/examples/google-ng.js)
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google-ng.js	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/examples/google-ng.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,28 @@
+var map;
+
+function init() {
+    map = new OpenLayers.Map('map');
+    map.addControl(new OpenLayers.Control.LayerSwitcher());
+    
+    var gphy = new OpenLayers.Layer.GoogleNG(
+        {type: google.maps.MapTypeId.TERRAIN}
+    );
+    var gmap = new OpenLayers.Layer.GoogleNG(
+        // ROADMAP, the default
+    );
+    var ghyb = new OpenLayers.Layer.GoogleNG(
+        {type: google.maps.MapTypeId.HYBRID}
+    );
+    var gsat = new OpenLayers.Layer.GoogleNG(
+        {type: google.maps.MapTypeId.SATELLITE}
+    );
+
+    map.addLayers([gphy, gmap, ghyb, gsat]);
+
+    // GoogleNG uses EPSG:900913 as projection, so we have to
+    // transform our coordinates
+    map.setCenter(new OpenLayers.LonLat(10.2, 48.9).transform(
+        new OpenLayers.Projection("EPSG:4326"),
+        map.getProjectionObject()
+    ), 5);
+}

Modified: sandbox/bartvde/wps/openlayers/examples/google-reproject.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google-reproject.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/google-reproject.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Google with Overlay Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script src="../lib/OpenLayers.js"></script>
@@ -50,12 +52,12 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        An overlay in a Geographic projection can be stretched to somewhat
+        <p>An overlay in a Geographic projection can be stretched to somewhat
         line up with Google tiles (in a Mercator projection).  Results get
         worse farther from the equator.  Use the "reproject" option on a
         layer to get this behavior.  Use the sphericalMercator option on
         a Google layer to get proper overlays (with other layers in
-        Spherical Mercator).
+        Spherical Mercator).</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/google-v3-alloverlays.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google-v3-alloverlays.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/google-v3-alloverlays.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Google (v3) Layer Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/google-v3.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google-v3.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/google-v3.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,14 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Google (v3) Layer Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">
-        <script src="http://maps.google.com/maps/api/js?v=3.3&amp;sensor=false"></script>
+        <script src="http://maps.google.com/maps/api/js?v=3.5&amp;sensor=false"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script src="google-v3.js"></script>
     </head>

Modified: sandbox/bartvde/wps/openlayers/examples/google.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/google.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/google.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Google Layer Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="../theme/default/google.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/graphic-name.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/graphic-name.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/graphic-name.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>OpenLayers Graphic Names</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js" type="text/javascript"></script>
         <script src="./graphic-name.js" type="text/javascript"></script>
     </head>

Modified: sandbox/bartvde/wps/openlayers/examples/graticule.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/graticule.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/graticule.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Graticule Example</title>
 
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #map {
                 width: 600px;

Modified: sandbox/bartvde/wps/openlayers/examples/gutter.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/gutter.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/gutter.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
+<!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-      <title>OpenLayers Gutter Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <title>OpenLayers Gutter Example</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         p.caption {
             width: 512px;

Modified: sandbox/bartvde/wps/openlayers/examples/highlight-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/highlight-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/highlight-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>SelectFeature Control for Select and Highlight</title> 
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
-        <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controlToggle li {
             list-style: none;

Modified: sandbox/bartvde/wps/openlayers/examples/hover-handler.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/hover-handler.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/hover-handler.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Hover Handler Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />        
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">        
         <style type="text/css">
             #map {
                 width: 340px;

Modified: sandbox/bartvde/wps/openlayers/examples/image-layer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/image-layer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/image-layer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-      <title>OpenLayers Image Layer Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <title>OpenLayers Image Layer Example</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         p.caption {
             width: 512px;

Modified: sandbox/bartvde/wps/openlayers/examples/intersects.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/intersects.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/intersects.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Geometry Intersections</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
-        <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css">
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         html, body {
             margin: 0;
@@ -180,11 +182,11 @@
         </div>
     </div>
     <div id="info">
-        Features
-        <input type="button" value="refresh" onclick="serialize();" /><br />
+        <p>Features</p>
+        <input type="button" value="refresh" onclick="serialize();"><br>
         <textarea id="features"></textarea>
-        Intersections
-        <input type="button" value="intersect all" onclick="intersect();" /><br />
+        <p>Intersections</p>
+        <input type="button" value="intersect all" onclick="intersect();"><br>
         <textarea id="intersections"></textarea>
     </div>
   </body>

Modified: sandbox/bartvde/wps/openlayers/examples/kamap.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/kamap.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/kamap.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers KaMap Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/kinetic.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/kinetic.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/kinetic.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -2,8 +2,9 @@
 <html>
   <head>
     <title>OpenLayers Kinetic Dragging Example</title>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <link rel="stylesheet" href="style.css" type="text/css">
   </head>

Modified: sandbox/bartvde/wps/openlayers/examples/kml-layer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/kml-layer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/kml-layer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">
     </head>

Modified: sandbox/bartvde/wps/openlayers/examples/kml-pointtrack.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/kml-pointtrack.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/kml-pointtrack.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-        <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers KML Track in a PointTrack Layer Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
@@ -33,6 +34,7 @@
             <p>
                 View the <a href="kml-pointtrack.js" target="_blank">kml-pointtrack.js</a>
                 source to see how this is done.
+            </p>
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/kml-track.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/kml-track.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/kml-track.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers KLM Track Parsing Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/late-render.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/late-render.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/late-render.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Late Rendering Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>    
     <script type="text/javascript">
     
@@ -36,11 +38,11 @@
     </p>
     <div id="container_id" class="smallmap"></div>    
     <div id="docs">
-        In cases where you need to create a map first and render it to some
+        <p>In cases where you need to create a map first and render it to some
         container later, call the map constructor without a "div" argument.
         In this case, you can provide the options object as the first argument.
         To render your map to some container after construction, call the map's
-        render method with the container id.
+        render method with the container id.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/layer-opacity.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/layer-opacity.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/layer-opacity.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
       <title>OpenLayers Layer Opacity Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         body {
             font-family: sans-serif;

Modified: sandbox/bartvde/wps/openlayers/examples/layerLoadMonitoring.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/layerLoadMonitoring.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/layerLoadMonitoring.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Layer Load Monitoring Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controls {
             float: left;

Modified: sandbox/bartvde/wps/openlayers/examples/layerswitcher.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/layerswitcher.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/layerswitcher.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
       <title>OpenLayers Layer Switcher Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/lite.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/lite.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/lite.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Basic Single WMS Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -30,7 +32,8 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        This example shows a very simple layout with minimal controls.  This example uses a single WMS base layer.
+        <p>This example shows a very simple layout with minimal controls.
+        This example uses a single WMS base layer.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/mapguide.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mapguide.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mapguide.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers MapGuide Layer Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #map {
             width: 400px;

Modified: sandbox/bartvde/wps/openlayers/examples/mapserver.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mapserver.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mapserver.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>MapServer Layer</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -31,7 +33,9 @@
     <div id="shortdesc">Shows MapServer Layer</div>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        This is an example of using a MapServer Layer with a gutter parameter.  The gutter parameter is used to try to limit the edge effects between tiles.
+        <p>This is an example of using a MapServer Layer with a gutter
+        parameter.  The gutter parameter is used to try to limit the edge
+        effects between tiles.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/mapserver_untiled.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mapserver_untiled.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mapserver_untiled.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>MapServer Single Tile Mode</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #map {
             width: 100%;
@@ -33,7 +35,9 @@
     <div id="shortdesc">Shows single tile MapServer Layer</div>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        This shows an example of using a MapServer Layer in single tile mode.  Single tile mode can be useful when pulling data from dynamic sources.
+        <p>This shows an example of using a MapServer Layer in single tile
+        mode.  Single tile mode can be useful when pulling data from dynamic
+        sources.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/marker-shadow.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/marker-shadow.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/marker-shadow.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Vector Graphics with Shadows</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .smallmap {
             width: 300px;

Modified: sandbox/bartvde/wps/openlayers/examples/markerResize.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/markerResize.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/markerResize.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Resize a Marker</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -48,7 +50,10 @@
     <div id="shortdesc">Dynamically resize a marker</div>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        This example shows how to create a OpenLayers.Layer.Markers layer, add an icon, put it into a marker, and add the marker to the layer.  Once the marker has been added it is possible to use setSize() on the icon in order to resize the marker.
+        <p>This example shows how to create a OpenLayers.Layer.Markers layer,
+        add an icon, put it into a marker, and add the marker to the layer.
+        Once the marker has been added it is possible to use setSize() on the
+        icon in order to resize the marker.</p>
     </div>
     <div style="background-color:purple" onclick="resize()"> click to resize marker</div>
   </body>

Modified: sandbox/bartvde/wps/openlayers/examples/markers.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/markers.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/markers.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Markers Layer Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -49,7 +51,9 @@
     <div id="shortdesc">Show markers layer with different markers</div>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-        This is an example of an OpenLayers.Layers.Markers layer that shows some examples of adding markers.  Also demonstrated is registering a mousedown effect on a marker.
+        <p>This is an example of an OpenLayers.Layers.Markers layer that shows
+        some examples of adding markers.  Also demonstrated is registering a
+        mousedown effect on a marker.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/markersTextLayer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/markersTextLayer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/markersTextLayer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Using a Layer.Text to display markers</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;

Modified: sandbox/bartvde/wps/openlayers/examples/measure.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/measure.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/measure.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controlToggle li {
             list-style: none;

Modified: sandbox/bartvde/wps/openlayers/examples/mm.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mm.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mm.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>MultiMap</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #map {
             width: 100%;

Modified: sandbox/bartvde/wps/openlayers/examples/mobile-base.js
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile-base.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile-base.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -51,7 +51,6 @@
             new OpenLayers.Control.Attribution(),
             new OpenLayers.Control.TouchNavigation({
                 dragPanOptions: {
-                    interval: 100,
                     enableKinetic: true
                 }
             }),

Modified: sandbox/bartvde/wps/openlayers/examples/mobile-drawing.js
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile-drawing.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile-drawing.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -48,11 +48,7 @@
             -20037508.34, -20037508.34, 20037508.34, 20037508.34
         ),
         controls: [
-            new OpenLayers.Control.TouchNavigation({
-                dragPanOptions: {
-                    interval: 100
-                }
-            }),
+            new OpenLayers.Control.TouchNavigation(),
             new OpenLayers.Control.ZoomPanel(),
             toolbar
         ],

Modified: sandbox/bartvde/wps/openlayers/examples/mobile-layers.js
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile-layers.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile-layers.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -29,7 +29,6 @@
             new OpenLayers.Control.Attribution(),
             new OpenLayers.Control.TouchNavigation({
                 dragPanOptions: {
-                    interval: 100,
                     enableKinetic: true
                 }
             }),

Modified: sandbox/bartvde/wps/openlayers/examples/mobile-navigation.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile-navigation.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile-navigation.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Mobile Navigation Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <link rel="stylesheet" href="style.mobile.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script type="text/javascript" src="../lib/OpenLayers.js?mobile"></script>
     <script type="text/javascript" src="mobile-navigation.js"></script>
   </head>

Modified: sandbox/bartvde/wps/openlayers/examples/mobile-navigation.js
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile-navigation.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile-navigation.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -14,7 +14,6 @@
         controls: [
             new OpenLayers.Control.TouchNavigation({
                 dragPanOptions: {
-                    interval: 100,
                     enableKinetic: true
                 }
             }),

Modified: sandbox/bartvde/wps/openlayers/examples/mobile.js
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mobile.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mobile.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -23,7 +23,6 @@
             new OpenLayers.Control.Attribution(),
             new OpenLayers.Control.TouchNavigation({
                 dragPanOptions: {
-                    interval: 100,
                     enableKinetic: true
                 }
             }),

Modified: sandbox/bartvde/wps/openlayers/examples/modify-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/modify-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/modify-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Modify Feature</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controls {
             width: 512px;

Modified: sandbox/bartvde/wps/openlayers/examples/mouse-position.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mouse-position.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mouse-position.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" debug="true">
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>MousePosition Control</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;
@@ -40,6 +40,8 @@
     </p>  
     <div id="map" class="smallmap"></div>
     <div id="coords"></div>
-    <p>Moving your mouse to the upper left corner of this map should return 'x=0,y=0' -- in the past, it didn't in IE. If it returns 2,2, consider it a bug, and report it.</p> 
+    <p>Moving your mouse to the upper left corner of this map should return
+    'x=0,y=0' -- in the past, it didn't in IE. If it returns 2,2, consider it a
+    bug, and report it.</p> 
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/mousewheel-interval.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mousewheel-interval.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mousewheel-interval.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Mousewheel Interval Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;

Modified: sandbox/bartvde/wps/openlayers/examples/multimap-mercator.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/multimap-mercator.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/multimap-mercator.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>MultiMap SphericalMercator</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #map {
             width: 100%;

Modified: sandbox/bartvde/wps/openlayers/examples/multiserver.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/multiserver.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/multiserver.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Tiles from Multiple Servers</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -37,7 +39,13 @@
 
     <div id="map" class="smallmap"></div>
     <div id="docs">
-    Browsers typically limit the number of concurrent requests to the same server, based on hostname. In order to ake tiles load more quickly, it often makes sense to distribute requests over multiple hostnames to achieve more concurrency. Typically, browsers perform best with 3 different hostnames -- your performance may vary. (For example, if your server can't handle more than 2 requests simultaneously, then additional hostnames will not help you.)    
+    <p>Browsers typically limit the number of concurrent requests to the same
+    server, based on hostname. In order to ake tiles load more quickly, it
+    often makes sense to distribute requests over multiple hostnames to achieve
+    more concurrency. Typically, browsers perform best with 3 different
+    hostnames -- your performance may vary. (For example, if your server can't
+    handle more than 2 requests simultaneously, then additional hostnames will
+    not help you.)</p>    
    </div>
    
   </body>

Modified: sandbox/bartvde/wps/openlayers/examples/multitouch.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/multitouch.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/multitouch.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,5 +1,7 @@
+<!DOCTYPE html>
 <html>
   <head>
+   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Multitouch Test</title>
   </head>
   <body>

Modified: sandbox/bartvde/wps/openlayers/examples/mvs.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/mvs.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/mvs.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
 <!-- 
      This probably needs to be renamed index.html for deployment.
@@ -5,8 +6,9 @@
      directory it is in.
 -->
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
 
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>

Modified: sandbox/bartvde/wps/openlayers/examples/navigation-control.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/navigation-control.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/navigation-control.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Navigation Control</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -32,7 +34,11 @@
     <div id="map" class="smallmap"></div>
     <a href="#" onclick="nav.enableZoomWheel();return false">Turn on Wheel Zoom</a> | <a href="#" onclick="nav.disableZoomWheel(); return false;">Turn off Wheel Zoom</a>
     <div id="docs">
-        This example demonstrates a couple features of the Navigation control. The Navigation control controls most map dragging, movement, zooming, etc. In this case, we have a demonstration of how to create a navigation control with no zoom wheel action, which can then be enabled or disabled by the user.
+        <p>This example demonstrates a couple features of the Navigation
+        control. The Navigation control controls most map dragging, movement,
+        zooming, etc. In this case, we have a demonstration of how to create a
+        navigation control with no zoom wheel action, which can then be enabled
+        or disabled by the user.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/navigation-history.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/navigation-history.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/navigation-history.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Navigation History Example</title>
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style>
             #panel {
                 right: 0px;

Modified: sandbox/bartvde/wps/openlayers/examples/navtoolbar-alwaysZoom.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/navtoolbar-alwaysZoom.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/navtoolbar-alwaysZoom.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
 	<head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+        <meta name="apple-mobile-web-app-capable" content="yes">
 		<title>A navToolbar with an alwaysZoom ZoomBox</title>
-		<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-	    <link rel="stylesheet" href="style.css" type="text/css" />
+		<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+	    <link rel="stylesheet" href="style.css" type="text/css">
 		<!-- Override the position of the toolbar to make it fit in a small map -->
 		<style type='text/css'>     
 			.olControlNavToolbar {

Modified: sandbox/bartvde/wps/openlayers/examples/navtoolbar-outsidemap.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/navtoolbar-outsidemap.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/navtoolbar-outsidemap.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Custom Navigation Toolbar</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;

Modified: sandbox/bartvde/wps/openlayers/examples/navtoolbar.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/navtoolbar.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/navtoolbar.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <title>NavToolbar Demo</title>
     <style type='text/css'>    
         #map {

Modified: sandbox/bartvde/wps/openlayers/examples/openls.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/openls.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/openls.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,5 +1,7 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
 <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
     <meta name="apple-mobile-web-app-capable" content="yes"/>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>

Modified: sandbox/bartvde/wps/openlayers/examples/ordering.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/ordering.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/ordering.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Z-Ordering and Y-Ordering of Vector Features</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .smallmap {
             width: 300px;

Modified: sandbox/bartvde/wps/openlayers/examples/osm-google.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/osm-google.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/osm-google.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers OSM and Google Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/osm-layer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/osm-layer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/osm-layer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: OSM Layer</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style>
         #map {
             height: 350px;

Modified: sandbox/bartvde/wps/openlayers/examples/osm.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/osm.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/osm.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Basic Single WMS Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -33,7 +35,7 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        This example shows a very simple OSM layout with minimal controls. 
+        <p>This example shows a very simple OSM layout with minimal controls.</p> 
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/outOfRangeMarkers.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/outOfRangeMarkers.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/outOfRangeMarkers.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Using maxResolution to control overlays</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style>
         #map {
             height: 350px;

Modified: sandbox/bartvde/wps/openlayers/examples/overviewmap.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/overviewmap.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/overviewmap.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,11 @@
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Overview Map Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js" type="text/javascript"></script>
         <style>
         #map1 {

Modified: sandbox/bartvde/wps/openlayers/examples/pan-zoom-panels.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/pan-zoom-panels.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/pan-zoom-panels.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,10 @@
 <html>
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Pan and Zoom Panels</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
 
     <!-- 
       -- Special stylesheet inclusion for ie6, which doesn't handle the alpha 
@@ -16,7 +17,7 @@
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
 
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script type="text/javascript" src="../lib/OpenLayers.js"></script>
     <script>
     var map;

Modified: sandbox/bartvde/wps/openlayers/examples/panel.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/panel.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/panel.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Control Panel</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlPanel div { 
           display:block;

Modified: sandbox/bartvde/wps/openlayers/examples/point-track-markers.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/point-track-markers.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/point-track-markers.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Point Track Markers</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer, rss, lineFeatures, popup;

Modified: sandbox/bartvde/wps/openlayers/examples/popupMatrix.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/popupMatrix.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/popupMatrix.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml" debug="true">
+<!DOCTYPE html>
+<html debug="true">
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Popup Mayhem</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #map {
             width: 900px;
@@ -899,7 +901,7 @@
              tiny and you can only see a corner of it, then this code is broken.
         </p>
 
-      <br/>      
+      <br>      
 
       
    </div>

Modified: sandbox/bartvde/wps/openlayers/examples/popups.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/popups.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/popups.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">

Modified: sandbox/bartvde/wps/openlayers/examples/projected-map.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/projected-map.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/projected-map.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Non-Geographic Projection</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
     #map {
     width: 100%;

Modified: sandbox/bartvde/wps/openlayers/examples/protocol-gears.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/protocol-gears.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/protocol-gears.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,14 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .float-left {
             float: left;

Modified: sandbox/bartvde/wps/openlayers/examples/regular-polygons.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/regular-polygons.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/regular-polygons.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Regular Polygon Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         p {
             width: 512px;

Modified: sandbox/bartvde/wps/openlayers/examples/resize-features.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/resize-features.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/resize-features.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Resize Features Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         p {
             width: 500px;

Modified: sandbox/bartvde/wps/openlayers/examples/restricted-extent.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/restricted-extent.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/restricted-extent.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Restricted Extent Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/Firebug/firebug.js"></script>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">

Modified: sandbox/bartvde/wps/openlayers/examples/rotate-features.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/rotate-features.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/rotate-features.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Rotate Features Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         p {
             width: 500px;

Modified: sandbox/bartvde/wps/openlayers/examples/select-feature-multilayer.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/select-feature-multilayer.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/select-feature-multilayer.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>SelectFeature Control on multiple vector layers</title> 
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controlToggle li {
             list-style: none;

Modified: sandbox/bartvde/wps/openlayers/examples/select-feature-openpopup.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/select-feature-openpopup.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/select-feature-openpopup.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Open Popup on Layer.Vector</title> 
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controlToggle li {
             list-style: none;
@@ -21,7 +23,7 @@
             popup = new OpenLayers.Popup.FramedCloud("chicken", 
                                      feature.geometry.getBounds().getCenterLonLat(),
                                      null,
-                                     "<div style='font-size:.8em'>Feature: " + feature.id +"<br />Area: " + feature.geometry.getArea()+"</div>",
+                                     "<div style='font-size:.8em'>Feature: " + feature.id +"<br>Area: " + feature.geometry.getArea()+"</div>",
                                      null, true, onPopupClose);
             feature.popup = popup;
             map.addPopup(popup);

Modified: sandbox/bartvde/wps/openlayers/examples/select-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/select-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/select-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>SelectFeature Control on Layer.Vector</title> 
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #controlToggle li {
             list-style: none;

Modified: sandbox/bartvde/wps/openlayers/examples/setextent.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/setextent.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/setextent.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,10 @@
 <html>
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
 <title>Setting a visual Extent</title>
-<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
 <script src="../lib/OpenLayers.js"></script>
 </head>
 <body>

Modified: sandbox/bartvde/wps/openlayers/examples/simplify-linestring.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/simplify-linestring.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/simplify-linestring.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
         <title>Simplify a LineString geometry</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/single-tile.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/single-tile.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/single-tile.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers: Single Tile</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/sld-parser.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/sld-parser.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/sld-parser.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers SLD Parser</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <style>
             #input {

Modified: sandbox/bartvde/wps/openlayers/examples/sld.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/sld.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/sld.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/Firebug/firebug.js"></script>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
@@ -106,16 +108,16 @@
     namedLayers object of the return from format.read().</p>
     <p>Select a new style for the WaterBodies layer below:</p>
     <form>
-      <input type="radio" name="style" onclick="setStyle(this.value)" checked="checked" value="0">Default Styler (zoom in to see more features)</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="3">Styler Test PropertyIsEqualTo</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="4">Styler Test WATER_TYPE</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="5">Styler Test PropertyIsGreaterThanOrEqualTo</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="6">Styler Test PropertyIsLessThanOrEqualTo</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="7">Styler Test PropertyIsGreaterThan</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="8">Styler Test PropertyIsLessThan</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="9">Styler Test PropertyIsLike</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="10">Styler Test PropertyIsBetween</input><br/>
-      <input type="radio" name="style" onclick="setStyle(this.value)" value="11">Styler Test FeatureId</input><br/>
+      <input type="radio" name="style" onclick="setStyle(this.value)" checked="checked" value="0">Default Styler (zoom in to see more features)</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="3">Styler Test PropertyIsEqualTo</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="4">Styler Test WATER_TYPE</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="5">Styler Test PropertyIsGreaterThanOrEqualTo</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="6">Styler Test PropertyIsLessThanOrEqualTo</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="7">Styler Test PropertyIsGreaterThan</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="8">Styler Test PropertyIsLessThan</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="9">Styler Test PropertyIsLike</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="10">Styler Test PropertyIsBetween</input><br>
+      <input type="radio" name="style" onclick="setStyle(this.value)" value="11">Styler Test FeatureId</input><br>
     </form>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/snap-split.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/snap-split.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/snap-split.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <title>Snapping & Splitting</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <title>Snapping &amp; Splitting</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlEditingToolbar .olControlModifyFeatureItemInactive { 
             background-position: -1px -1px;
@@ -18,7 +20,7 @@
         label.head {
             font-weight: bold;
             padding: 1em 0 0.1em 0;
-            border-bottom: 1px solid grey;
+            border-bottom: 1px solid gray;
         }
         td {
             padding: 0.25em 1em;
@@ -247,7 +249,7 @@
     </div>    
     <div id="shortdesc">A demonstration snapping and splitting while editing vector features.</div>
     <div id="map" class="smallmap"></div>
-    <br/>
+    <br>
     <input type="checkbox" id="snap_toggle" />
     <label for="snap_toggle" class="head">Enable Snapping</label>
     <table id="snap_options">
@@ -263,7 +265,7 @@
             </tr>
         </tbody>
     </table>
-    <br />
+    <br>
     <input type="checkbox" id="split_toggle" />
     <label for="split_toggle" class="head">Enable Splitting</label>
     <table id="split_options">
@@ -274,7 +276,7 @@
             </tr>
         </tbody>
     </table>
-    <br />
+    <br>
     <button id="clear">clear</button> Clear all features.
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/snapping.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/snapping.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/snapping.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Snapping</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlEditingToolbar .olControlModifyFeatureItemInactive { 
             background-position: -1px -1px;
@@ -282,7 +284,7 @@
     </div>      
     <div id="shortdesc">A demonstration snapping while editing vector features.</div>
     <div id="map" class="smallmap"></div>
-    <br/>
+    <br>
     <label for="editable">Editable Layer:</label>
     <select id="editable" name="editable">
         <option value="poly">polygons</option>

Modified: sandbox/bartvde/wps/openlayers/examples/sos.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/sos.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/sos.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>SOS Client Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
     .sosmap {
         width: 768px;

Modified: sandbox/bartvde/wps/openlayers/examples/spherical-mercator.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/spherical-mercator.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/spherical-mercator.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Spherical Mercator</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         .olControlAttribution { bottom: 0px!important }
         #map {

Modified: sandbox/bartvde/wps/openlayers/examples/split-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/split-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/split-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Split Feature Example</title>
         
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style>
             /* avoid pink tiles */
             .olImageLoadError {
@@ -104,11 +106,11 @@
         </p>
         <div id="map" class="smallmap"></div>    
         <div id="docs">
-            The split control can be configured to listen for edits on any vector layer
+            <p>The split control can be configured to listen for edits on any vector layer
             or it can allow for creation of temporary sketch features.  Modified or
             newly drawn features will be used to split existing features on any target
             layer.  This example shows the split control configured to use temporary
-            sketches for the split.
+            sketches for the split.</p>
         </div>
     </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/strategy-bbox.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/strategy-bbox.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/strategy-bbox.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers BBOX Strategy Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map, photos;

Modified: sandbox/bartvde/wps/openlayers/examples/strategy-cluster-extended.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/strategy-cluster-extended.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/strategy-cluster-extended.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>Extended clustering example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">
@@ -48,15 +49,15 @@
                 <label>
                     <input type="radio" name="strategy" value="none" id="no-strategy" checked="checked">No strategy
                 </label>
-                <br/>
+                <br>
                 <label>
                     <input type="radio" name="strategy" value="cluster" id="cluster-strategy">Simple cluster-strategy
                 </label>
-                <br/>
+                <br>
                 <label>
                     <input type="radio" name="strategy" value="attribute-cluster" id="attributive-cluster-strategy">Attributive cluster-strategy
                 </label>
-                <br/>
+                <br>
                 <label>
                     <input type="radio" name="strategy" value="rule-cluster" id="rulebased-cluster-strategy">Rulebased cluster-strategy
                 </label>

Modified: sandbox/bartvde/wps/openlayers/examples/strategy-cluster-threshold.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/strategy-cluster-threshold.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/strategy-cluster-threshold.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Cluster Strategy Threshold</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             ul {
                 list-style: none;
@@ -133,7 +135,7 @@
             cluster.  The threshold determines the minimum number of features to
             be considered a cluster.</p>
         </div>
-        <br />
+        <br>
         <p>Cluster details: <span id="output">hover over a feature to see details.</span></p>
         <ul>
             <li>

Modified: sandbox/bartvde/wps/openlayers/examples/strategy-cluster.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/strategy-cluster.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/strategy-cluster.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Cluster Strategy Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #photos {
                 height: 100px;

Modified: sandbox/bartvde/wps/openlayers/examples/strategy-paging.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/strategy-paging.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/strategy-paging.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Paging Strategy Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">
             var map, photos, paging;
@@ -73,7 +75,7 @@
         Displaying page <span id="num">0</span> of <span id="count">...</span>
         <button id="prev" disabled="disabled" onclick="paging.pagePrevious();">previous</button>
         <button id="next" disabled="disabled" onclick="paging.pageNext();">next</button>
-        <br /><br />
+        <br><br>
         <div id="docs">
             <p>The Paging strategy lets you apply client side paging for protocols
             that do not support paging on the server.  In this case, the protocol requests a

Modified: sandbox/bartvde/wps/openlayers/examples/style-rules.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/style-rules.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/style-rules.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Rule Based Style</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script src="style-rules.js"></script>
     </head>

Modified: sandbox/bartvde/wps/openlayers/examples/stylemap.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/stylemap.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/stylemap.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers StyleMap</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/styles-context.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/styles-context.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/styles-context.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Vector Styles</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;
@@ -32,12 +34,17 @@
                 );
             }
             
+            // allow testing of specific renderers via "?renderer=Canvas", etc
+            var renderer = OpenLayers.Util.getParameters(window.location.href).renderer;
+            renderer = (renderer) ? [renderer] : OpenLayers.Layer.Vector.prototype.renderers;
+            
             // create the layer styleMap with a simple symbolizer template
             var layer1 = new OpenLayers.Layer.Vector('Points', {
                 styleMap: new OpenLayers.StyleMap({
                     pointRadius: "${type}", // based on feature.attributes.type
                     fillColor: "#666666"
-                })
+                }),
+                renderers: renderer
             });
             layer1.addFeatures(features);
 
@@ -61,17 +68,18 @@
                     var region = parseInt((feature.geometry.x + 180) / 120);
                     return colors[region];
                 },
-                getType: function(feature) {
-                    return feature.attributes["type"];
+                getSize: function(feature) {
+                    return feature.attributes["type"] / map.getResolution() * .703125;
                 }
             };
             var template = {
-                pointRadius: "${getType}", // using context.getType(feature)
+                pointRadius: "${getSize}", // using context.getSize(feature)
                 fillColor: "${getColor}" // using context.getColor(feature)
             };
             var style = new OpenLayers.Style(template, {context: context});
             var layer2 = new OpenLayers.Layer.Vector('Points', {
-                styleMap: new OpenLayers.StyleMap(style)
+                styleMap: new OpenLayers.StyleMap(style),
+                renderers: renderer
             });
             layer2.addFeatures(features);
 

Modified: sandbox/bartvde/wps/openlayers/examples/styles-rotation.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/styles-rotation.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/styles-rotation.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Styles Rotation Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js" type="text/javascript"></script>
     <script type="text/javascript">
         

Modified: sandbox/bartvde/wps/openlayers/examples/styles-unique.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/styles-unique.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/styles-unique.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Styles Unique Value Styles Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;

Modified: sandbox/bartvde/wps/openlayers/examples/sundials-spherical-mercator.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/sundials-spherical-mercator.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/sundials-spherical-mercator.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,13 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Sundials on a Spherical Mercator Map</title>
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
 
     <style type="text/css">
         #map {

Modified: sandbox/bartvde/wps/openlayers/examples/sundials.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/sundials.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/sundials.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
 
     <style type="text/css">
         #map {
@@ -64,7 +66,7 @@
             // Javascript.
             var content = "<h2>"+feature.attributes.name + "</h2>" + feature.attributes.description;
             if (content.search("<script") != -1) {
-                content = "Content contained Javascript! Escaped content below.<br />" + content.replace(/</g, "&lt;");
+                content = "Content contained Javascript! Escaped content below.<br>" + content.replace(/</g, "&lt;");
             }
             popup = new OpenLayers.Popup.FramedCloud("chicken", 
                                      feature.geometry.getBounds().getCenterLonLat(),

Modified: sandbox/bartvde/wps/openlayers/examples/symbolizers-fill-stroke-graphic.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/symbolizers-fill-stroke-graphic.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/symbolizers-fill-stroke-graphic.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Fill, Stroke, and Graphic Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js" type="text/javascript"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/teleportation.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/teleportation.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/teleportation.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Teleporter Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     
     <style type="text/css">
@@ -65,10 +67,10 @@
     <input type="button" onclick="teleport()" value="Teleport!"></input>
 
     <div id="docs">
-        This example demonstrates how a map can be rendered initially in one
+        <p>This example demonstrates how a map can be rendered initially in one
         container and then moved to a new container.  At any point after map
         construction, the map's render method can be called with the id of
-        an empty container, moving the map to the new container.
+        an empty container, moving the map to the new container.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/tile-origin.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/tile-origin.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/tile-origin.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Tile Origin Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/tilecache.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/tilecache.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/tilecache.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers TileCache Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -58,10 +60,10 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        This layer should be used for web accessible disk-based caches only.
+        <p>This layer should be used for web accessible disk-based caches only.
         It is not used to request new tiles from TileCache.  Note that you
         should specify resolutions explicitly on this layer so that they match
-        your TileCache configuration.
+        your TileCache configuration.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/tms.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/tms.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/tms.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Tiled Map Service Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -47,9 +49,9 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        URL of TMS (Should end in /): <input type="text" id="url" size="60" value="http://tilecache.osgeo.org/wms-c/Basic.py/" /> layer_name <input type="text" id="layer" value="basic" /> <select id="type"><option>jpg</option><option>png</option></select> <input type="submit" onclick="addTMS()"/><br />
+        URL of TMS (Should end in /): <input type="text" id="url" size="60" value="http://tilecache.osgeo.org/wms-c/Basic.py/" /> layer_name <input type="text" id="layer" value="basic" /> <select id="type"><option>jpg</option><option>png</option></select> <input type="submit" onclick="addTMS()"/><br>
         <p>
-        Example: http://tilecache.osgeo.org/wms-c/Basic.py/, basic, jpg<br />
+        Example: http://tilecache.osgeo.org/wms-c/Basic.py/, basic, jpg<br>
         The first input must be an HTTP URL pointing to a TMS instance. The second
         input must be a layer name available from that instance, and the third must
         be the output format used by that layer. (Any other behavior will result in

Modified: sandbox/bartvde/wps/openlayers/examples/transform-feature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/transform-feature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/transform-feature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Transformation Box</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js" type="text/javascript"></script>
     <script type="text/javascript">
         var map, control;

Modified: sandbox/bartvde/wps/openlayers/examples/transition.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/transition.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/transition.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Transitions Example</title>
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/urban.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/urban.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/urban.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-      <title>OpenLayers WorldWind Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <title>OpenLayers WorldWind Example</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/ve-novibrate.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/ve-novibrate.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/ve-novibrate.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml"> 
-  <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" /> 
-      <title>OpenLayers Virtual Earth Example</title> 
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
-    <link rel="stylesheet" href="style.css" type="text/css" /> 
+<!DOCTYPE html>
+<html> 
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes"> 
+    <title>OpenLayers Virtual Earth Example</title> 
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> 
+    <link rel="stylesheet" href="style.css" type="text/css"> 
     <script src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1'></script> 
  
     <script src="../lib/OpenLayers.js"></script> 

Modified: sandbox/bartvde/wps/openlayers/examples/ve.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/ve.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/ve.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-      <title>OpenLayers Virtual Earth Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <title>OpenLayers Virtual Earth Example</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1'></script>
 
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/vector-features-with-text.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/vector-features-with-text.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/vector-features-with-text.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE HTML>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Labeled Features Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;
@@ -129,7 +130,7 @@
     </p>
     <div id="map" class="smallmap"></div>
     <div id="docs">
-    This example shows drawing simple vector features with a label
+    <p>This example shows drawing simple vector features with a label.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/vector-features.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/vector-features.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/vector-features.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Vector Features</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js" type="text/javascript"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/vector-formats.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/vector-formats.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/vector-formats.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,13 +1,15 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>Vector Formats</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
     <!--[if lte IE 6]>
         <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
     <![endif]-->
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         input, select, textarea {
             font: 0.9em Verdana, Arial, sans-serif;
@@ -202,18 +204,18 @@
             <label for="prettyPrint">Pretty print</label>
             <input id="prettyPrint" type="checkbox"
                    name="prettyPrint" value="1" />
-            <br />
+            <br>
             Input Projection: <select id="inproj" onchange='updateFormats()'>
               <option value="EPSG:4326" selected="selected">EPSG:4326</option>
               <option value="EPSG:900913">Spherical Mercator</option>
-            </select> <br /> 
+            </select> <br> 
             Output Projection: <select id="outproj" onchange='updateFormats()'>
               <option value="EPSG:4326" selected="selected">EPSG:4326</option>
               <option value="EPSG:900913">Spherical Mercator</option>
             </select> 
-            <br /> 
+            <br> 
             <textarea id="text">paste text here...</textarea>
-            <br />
+            <br>
             <input type="button" value="add feature" onclick="deserialize();" />
         </div>
 

Modified: sandbox/bartvde/wps/openlayers/examples/web-mercator.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/web-mercator.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/web-mercator.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE HTML>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers: Web Mercator</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
 
         <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-filter.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-filter.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-filter.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers WFS Protocol with Filter</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-protocol-transactions.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-protocol-transactions.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-protocol-transactions.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
+<!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script src="../lib/OpenLayers.js"></script>
     <!--[if lte IE 6]>

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-protocol.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-protocol.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-protocol.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers Vector Behavior Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/Firebug/firebug.js"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script type="text/javascript">

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-reprojection.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-reprojection.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-reprojection.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>WFS Reprojection Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ"></script>
         <script src="wfs-reprojection.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-snap-split.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-snap-split.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-snap-split.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,10 @@
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <!--[if lte IE 6]>
         <style>

Modified: sandbox/bartvde/wps/openlayers/examples/wfs-states.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wfs-states.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wfs-states.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
+<!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <title>WFS: United States (GeoServer)</title>
         <script src="../lib/OpenLayers.js"></script>
         <script src="wfs-states.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/wmc.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wmc.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wmc.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <style type="text/css">
         #wmc {
             width: 90%;
@@ -129,16 +131,16 @@
            Shows parsing of Web Map Context documents.
     </p>
     <div id="map" class="smallmap"></div>
-        <button onclick="writeWMC();">write</button><br />
-        <button onclick="readWMC();">read as new map</button> with the following extra map options : <input type="text" id="mapOptions" value='{"div": "map", "allOverlays": true}'/><br />
-        <button onclick="readWMC(true);">read and merge</button><br />
-        <button onclick="pasteWMC();">try with another WMC document</button><br />
+        <button onclick="writeWMC();">write</button><br>
+        <button onclick="readWMC();">read as new map</button> with the following extra map options : <input type="text" id="mapOptions" value='{"div": "map", "allOverlays": true}'/><br>
+        <button onclick="readWMC(true);">read and merge</button><br>
+        <button onclick="pasteWMC();">try with another WMC document</button><br>
         <textarea id="wmc">paste WMC doc here</textarea>
     <div id="docs">
-        This is an example of parsing WMC documents. <br />
+        <p>This is an example of parsing WMC documents. <br>
         The format class has a layerOptions property, which can be used
         to control the default options of the layer when it is created
-        by the parser.
+        by the parser.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/wms-long-url.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wms-long-url.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wms-long-url.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>WMS with POST Requests to Avoid Long URLs</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
   </head>
   <body>
     <h1 id="title">WMS with POST Requests to Avoid Long URLs</h1>

Modified: sandbox/bartvde/wps/openlayers/examples/wms-untiled.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wms-untiled.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wms-untiled.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;

Modified: sandbox/bartvde/wps/openlayers/examples/wms-v13.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wms-v13.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wms-v13.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, map2;
@@ -46,10 +48,10 @@
         <div id="map" class="smallmap"></div>
         <div id="map2" class="smallmap"></div>
         <div id="docs">
-        WMS version 1.3 introduced the axis order sequence, so that for e.g. EPSG:4326 the bbox coordinate
+        <p>WMS version 1.3 introduced the axis order sequence, so that for e.g. EPSG:4326 the bbox coordinate
         values need to be flipped (LatLon instead of LonLat). The first map uses the incorrect (WMS 1.1) axis
         order against a WMS 1.3 service, resulting in corrupted maps. The second map shows how to correctly
-        request a map in EPSG:4326 against a WMS 1.3 service.
+        request a map in EPSG:4326 against a WMS 1.3 service.</p>
         </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/wms.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wms.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wms.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 5;
@@ -35,8 +37,9 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-        This is an example of how to add an WMS layer to the OpenLayers window. The images are tiled in this instance if you wanted to not use a tiled WMS
-        please use this example and pass the option ‘singleTile’ as true.
+        <p>This is an example of how to add an WMS layer to the OpenLayers
+        window. The images are tiled in this instance. If you wanted to not use
+        a tiled WMS, "singleTile" option to true like shown in this example.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/wmst.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wmst.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wmst.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: WMS + Time</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, ia_wms;
@@ -48,8 +50,11 @@
     <input size="4" type='text' id='year' value="2005" onchange="update_date()"/>-<input size="2" type="text" id="month" value="08" onchange="update_date()"/>-<input size="2" type="text" id="day" value="29" onchange="update_date()" />T<input type="text" size="2" id="hour" value="13" onchange="update_date()" />:<input type="text" size="2" id="minute" value="00" onchange="update_date()" />:00
     <div id="map" class="smallmap"></div>
     <div id="docs">
-            WMS-T example: update the times, and the radar image will change. Uses Layer.mergeNewParams to update the date element with the strings from the input fields every time one of them is changed.
-            The inputs below describe a timestamp: The minute increments can only be updated in units of 5.
+        <p>WMS-T example: update the times, and the radar image will change.
+        Uses Layer.mergeNewParams to update the date element with the strings
+        from the input fields every time one of them is changed. The inputs
+        above describe a timestamp: The minute increments can only be updated
+        in units of 5.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/wmts-capabilities.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wmts-capabilities.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wmts-capabilities.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers WMTS Capabilities Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/Firebug/firebug.js"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script src="wmts-capabilities.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/wmts-getfeatureinfo.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wmts-getfeatureinfo.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wmts-getfeatureinfo.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers WMTS GetFeatureInfo Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/Firebug/firebug.js"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script src="wmts-getfeatureinfo.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/wmts.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wmts.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wmts.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers WMTS Example</title>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/Firebug/firebug.js"></script>
         <script src="../lib/OpenLayers.js"></script>
         <script src="wmts.js"></script>

Modified: sandbox/bartvde/wps/openlayers/examples/worldwind.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/worldwind.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/worldwind.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, ol_wms, ww, ww2;
@@ -41,8 +43,16 @@
         <div id="map" class="smallmap"></div>
 
         <div id="docs">
-            This is a demonstration of using Tiled WorldWind layers. WorldWind requires you to define a "LZTD" -- the 3rd param of the constructor -- and the number of zoom levels it supports. When a worldwind layer is not visible at a given tile level, and empty tile is placed there instead. Note that the maxResolution of the map times 512px, must be a multiple of a power of two different from the LZTD -- in this case, .28125 * 512 is 144, which is 36*4, and 2.25*64.
-            This example has a 'Bathy' layer, visible as you zoom out, and a 'landsat' layer, visible as you zoom in, both visible at zoom level 6.
+            <p>This is a demonstration of using Tiled WorldWind layers.
+            WorldWind requires you to define a "LZTD" -- the 3rd param of the
+            constructor -- and the number of zoom levels it supports. When a
+            worldwind layer is not visible at a given tile level, and empty
+            tile is placed there instead. Note that the maxResolution of the
+            map times 512px, must be a multiple of a power of two different
+            from the LZTD -- in this case, .28125 * 512 is 144, which is 36*4,
+            and 2.25*64. This example has a 'Bathy' layer, visible as you zoom
+            out, and a 'landsat' layer, visible as you zoom in, both visible at
+            zoom level 6.</p>
         </div>
       </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/wrapDateLine.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/wrapDateLine.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/wrapDateLine.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Wrap Date Line</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map;

Modified: sandbox/bartvde/wps/openlayers/examples/xhtml.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/xhtml.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/xhtml.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,13 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+    <meta name="apple-mobile-web-app-capable" content="yes"/>
 <title>XHTML Example</title>
-<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
+    <link rel="stylesheet" href="style.css" type="text/css"/>
 <script src="../lib/OpenLayers.js" type="text/javascript"></script>
 </head>
 <body style="width:100%">

Modified: sandbox/bartvde/wps/openlayers/examples/xml.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/xml.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/xml.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,12 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>XML Parsing Example</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <style type="text/css">
             #output {
                 font-family: monospace;
@@ -134,7 +134,7 @@
                         <p>Status: <b>XML document <span id="loadStatus">loading..</span>.</b></p>
                         <p>After the XML document loads, see the result of a few of the methods
                         below.  Assume that you start with the following code:
-                        <br />
+                        <br>
                         <span class="code">
                             var format = new OpenLayers.Format.XML();
                         </span>

Modified: sandbox/bartvde/wps/openlayers/examples/xyz-esri.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/xyz-esri.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/xyz-esri.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Basic ESRI Map Cache Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var map, layer;
@@ -32,7 +34,8 @@
     <div id="map" class="smallmap"></div>
 
     <div id="docs">
-       Show the use of the XYZ layer to access a map cache provided in spherical mercator by ESRI.  
+       <p>Show the use of the XYZ layer to access a map cache provided in
+       spherical mercator by ESRI.</p>
     </div>
   </body>
 </html>

Modified: sandbox/bartvde/wps/openlayers/examples/xyz-offset.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/xyz-offset.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/xyz-offset.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,11 +1,12 @@
 <!DOCTYPE HTML>
 <html>
     <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
         <title>OpenLayers XYZ with Offset</title>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-        <link rel="stylesheet" href="style.css" type="text/css" />
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script src="xyz-offset.js"></script>
     </head>

Modified: sandbox/bartvde/wps/openlayers/examples/yahoo.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/yahoo.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/yahoo.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers: Yahoo Layer</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers"></script>
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
@@ -40,9 +42,10 @@
         <div id="map" class="smallmap"></div>
 
         <div id="docs">
-            This is an example of how to add a yahoo layer to the OpenLayers window.  In order to enable a
-            yahoo layer. Also shown in this example is the LayerSwitcher() control for toggling between both the yahoo layer and
-            the open layer WMS.
+            <p>This is an example of how to add a yahoo layer to the OpenLayers
+            window.  In order to enable a yahoo layer, also shown in this
+            example is the LayerSwitcher() control for toggling between both
+            the yahoo layer and the OSGeo WMS.
         </div>
 
   </body>

Modified: sandbox/bartvde/wps/openlayers/examples/zoomLevels.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/zoomLevels.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/zoomLevels.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,9 +1,11 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
         var lon = 50;
@@ -65,9 +67,9 @@
         </p>
         <p>
         Default units for Scale are in inches. Resolution is specified in map units
-        per pixel where the default map units are decimal degrees(dd).<br/>
+        per pixel where the default map units are decimal degrees(dd).<br>
         scale = resolution * OpenLayers.INCHES_PER_UNIT[units] *
-                    OpenLayers.DOTS_PER_INCH <br/>
+                    OpenLayers.DOTS_PER_INCH <br>
         You can either set the scale or the resolution, there is no need to set both.
         </p>
         <p>

Modified: sandbox/bartvde/wps/openlayers/examples/zoomify.html
===================================================================
--- sandbox/bartvde/wps/openlayers/examples/zoomify.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/examples/zoomify.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,10 +1,12 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
   <head>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
-    <meta name="apple-mobile-web-app-capable" content="yes" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title>OpenLayers Zoomify Example</title>
-    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
-    <link rel="stylesheet" href="style.css" type="text/css" />
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+    <link rel="stylesheet" href="style.css" type="text/css">
     <script src="../lib/OpenLayers.js"></script>
     <script type="text/javascript">
 
@@ -56,14 +58,14 @@
 
     <div id="docs">
 	    <p>
-	    Demonstration of the Zoomify layer in OpenLayers.<br />
+	    Demonstration of the Zoomify layer in OpenLayers.<br>
 	 	You can have a look at <a href="http://almor.mzk.cz/moll/AA22/103.html">Zoomify viewer for this picture</a>, which is using the same <a href="http://almor.mzk.cz/moll/AA22/0103/">tiles</a>.
 	    </p>
 		<p>
-		For change to our own image you have to specify 'url' (zoomifyImagePath in Zoomify terminology) and 'size' ('width' and 'height' from ImageProperty.xml file).<br />
-		Custom tiles can be easily generated with original <a href="http://www.zoomify.com/">Zoomify software</a> like with freely available <a href="http://www.zoomify.com/express.htm">ZoomifyerEZ</a> or with Adobe PhotoShop CS3 (it has built in support for export into Zoomify tiles).<br />
-		There is also a <a href="http://sourceforge.net/projects/zoomifyimage/">ZoomifyImage SourceForge Project</a>, a tile cutter available under GPL license.<br />
-		Zoomify tiles can be also served dynamically on the server side from JPEG2000 masters using <a href="http://dltj.org/article/introducing-j2ktilerenderer/">J2KTileRender</a> with available integration for DSpace and soon for Fedora Digital Repository.<br/>
+		For change to our own image you have to specify 'url' (zoomifyImagePath in Zoomify terminology) and 'size' ('width' and 'height' from ImageProperty.xml file).<br>
+		Custom tiles can be easily generated with original <a href="http://www.zoomify.com/">Zoomify software</a> like with freely available <a href="http://www.zoomify.com/express.htm">ZoomifyerEZ</a> or with Adobe PhotoShop CS3 (it has built in support for export into Zoomify tiles).<br>
+		There is also a <a href="http://sourceforge.net/projects/zoomifyimage/">ZoomifyImage SourceForge Project</a>, a tile cutter available under GPL license.<br>
+		Zoomify tiles can be also served dynamically on the server side from JPEG2000 masters using <a href="http://dltj.org/article/introducing-j2ktilerenderer/">J2KTileRender</a> with available integration for DSpace and soon for Fedora Digital Repository.<br>
 		<a href="http://iipimage.sourceforge.net/">IIPImage server</a> can serve Zoomify tiles dynamically from TIFF files.
 		</p>
 		<p>

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Control/DragPan.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Control/DragPan.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Control/DragPan.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -32,10 +32,11 @@
     /**
      * Property: interval
      * {Integer} The number of milliseconds that should ellapse before
-     *     panning the map again. Set this to increase dragging performance.
-     *     Defaults to 25 milliseconds.
+     *     panning the map again. Defaults to 1 millisecond. In most cases
+     *     you won't want to change this value. For slow machines/devices
+     *     larger values can be tried out.
      */
-    interval: 25,
+    interval: 1,
     
     /**
      * APIProperty: documentDrag

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -305,15 +305,22 @@
             "Get": function(node, obj) {
                 obj.get = {};
                 this.readChildNodes(node, obj.get);
+                // backwards compatibility
+                if (!obj.href) {
+                    obj.href = obj.get.href;
+                }
             },
             "Post": function(node, obj) {
                 obj.post = {};
                 this.readChildNodes(node, obj.post);
+                // backwards compatibility
+                if (!obj.href) {
+                    obj.href = obj.get.href;
+                }
             },
             "GetMap": function(node, obj) {
                 obj.getmap = {formats: []};
                 this.readChildNodes(node, obj.getmap);
-                obj.getmap.href = obj.getmap.get.href || obj.getmap.post.href; // backwards compatibility
             },
             "GetFeatureInfo": function(node, obj) {
                 obj.getfeatureinfo = {formats: []};

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Box.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Box.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Box.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -43,12 +43,16 @@
      *
      * Parameters:
      * control - {<OpenLayers.Control>} 
-     * callbacks - {Object} An object with a "done" property whose value is a
-     *     callback to be called when the box drag operation is finished.  
-     *     The callback should expect to recieve a single argument, the box 
+     * callbacks - {Object} An object with a properties whose values are
+     *     functions.  Various callbacks described below.
+     * options - {Object} 
+     *
+     * Named callbacks:
+     * start - Called when the box drag operation starts.
+     * done - Called when the box drag operation is finished.
+     *     The callback should expect to receive a single argument, the box 
      *     bounds or a pixel. If the box dragging didn't span more than a 5 
      *     pixel distance, a pixel will be returned instead of a bounds object.
-     * options - {Object} 
      */
     initialize: function(control, callbacks, options) {
         OpenLayers.Handler.prototype.initialize.apply(this, arguments);
@@ -89,9 +93,10 @@
     * Method: startBox
     *
     * Parameters:
-    * evt - {Event} 
+    * xy - {<OpenLayers.Pixel>}
     */
     startBox: function (xy) {
+        this.callback("start", []);
         this.zoomBox = OpenLayers.Util.createDiv('zoomBox',
              new OpenLayers.Pixel(-9999, -9999));
         this.zoomBox.className = this.boxDivClassName;                                         

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Path.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Path.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Path.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -102,13 +102,10 @@
      *     feature.
      */
     createFeature: function(pixel) {
-        var geometry;
-        if(pixel) {
-            var lonlat = this.map.getLonLatFromPixel(pixel);
-            geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
-        } else {
-            geometry = new OpenLayers.Geometry.Point();
-        }
+        var lonlat = this.map.getLonLatFromPixel(pixel);
+        var geometry = new OpenLayers.Geometry.Point(
+            lonlat.lon, lonlat.lat
+        );
         this.point = new OpenLayers.Feature.Vector(geometry);
         this.line = new OpenLayers.Feature.Vector(
             new OpenLayers.Geometry.LineString([this.point.geometry])
@@ -121,9 +118,13 @@
     /**
      * Method: destroyFeature
      * Destroy temporary geometries
+     *
+     * Parameters:
+     * force - {Boolean} Destroy even if persist is true.
      */
-    destroyFeature: function() {
-        OpenLayers.Handler.Point.prototype.destroyFeature.apply(this);
+    destroyFeature: function(force) {
+        OpenLayers.Handler.Point.prototype.destroyFeature.call(
+            this, force);
         this.line = null;
     },
 
@@ -193,6 +194,9 @@
      * drawing - {Boolean} Indicate if we're currently drawing.
      */
     modifyFeature: function(pixel, drawing) {
+        if(!this.line) {
+            this.createFeature(pixel);
+        }
         var lonlat = this.control.map.getLonLatFromPixel(pixel);
         this.point.geometry.x = lonlat.lon;
         this.point.geometry.y = lonlat.lat;

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Point.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Point.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Point.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -168,7 +168,6 @@
         }, this.layerOptions);
         this.layer = new OpenLayers.Layer.Vector(this.CLASS_NAME, options);
         this.map.addLayer(this.layer);
-        this.createFeature();
         return true;
     },
     
@@ -180,13 +179,10 @@
      * pixel - {<OpenLayers.Pixel>} A pixel location on the map.
      */
     createFeature: function(pixel) {
-        var geometry;
-        if(pixel) {
-            var lonlat = this.map.getLonLatFromPixel(pixel);
-            geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
-        } else {
-            geometry = new OpenLayers.Geometry.Point();
-        }
+        var lonlat = this.map.getLonLatFromPixel(pixel);
+        var geometry = new OpenLayers.Geometry.Point(
+            lonlat.lon, lonlat.lat
+        );
         this.point = new OpenLayers.Feature.Vector(geometry);
         this.callback("create", [this.point.geometry, this.point]);
         this.point.geometry.clearBounds();
@@ -201,14 +197,14 @@
         if(!OpenLayers.Handler.prototype.deactivate.apply(this, arguments)) {
             return false;
         }
-        this.cancel(true);
+        this.cancel();
         // If a layer's map property is set to null, it means that that layer
         // isn't added to the map. Since we ourself added the layer to the map
         // in activate(), we can assume that if this.layer.map is null it means
         // that the layer has been destroyed (as a result of map.destroy() for
         // example.
         if (this.layer.map != null) {
-            this.destroyFeature();
+            this.destroyFeature(true);
             this.layer.destroy(false);
         }
         this.layer = null;
@@ -219,9 +215,12 @@
     /**
      * Method: destroyFeature
      * Destroy the temporary geometries
+     *
+     * Parameters:
+     * force - {Boolean} Destroy even if persist is true.
      */
-    destroyFeature: function() {
-        if(this.layer) {
+    destroyFeature: function(force) {
+        if(this.layer && (force || !this.persist)) {
             this.layer.destroyFeatures();
         }
         this.point = null;
@@ -243,12 +242,10 @@
      * Finish the geometry and call the "done" callback.
      *
      * Parameters:
-     * cancel - {Boolean} Call cancel instead of done callback.  Default is
-     *     false.
-     * noNew - {Boolean} Do not create a new feature after
-     *     finalization.  Default is false.
+     * cancel - {Boolean} Call cancel instead of done callback.  Default
+     *          is false.
      */
-    finalize: function(cancel, noNew) {
+    finalize: function(cancel) {
         var key = cancel ? "cancel" : "done";
         this.drawing = false;
         this.mouseDown = false;
@@ -256,24 +253,15 @@
         this.lastUp = null;
         this.lastTouchPx = null;
         this.callback(key, [this.geometryClone()]);
-        if(cancel || !this.persist) {
-            this.destroyFeature();
-        }
-        if(!noNew && this.active) {
-            this.createFeature();
-        }
+        this.destroyFeature(cancel);
     },
 
     /**
      * APIMethod: cancel
      * Finish the geometry and call the "cancel" callback.
-     *
-     * Parameters:
-     * noNew - {Boolean} Do not create a new feature after
-     *     cancelation.  Default is false.
      */
-    cancel: function(noNew) {
-        this.finalize(true, noNew);
+    cancel: function() {
+        this.finalize(true);
     },
 
     /**
@@ -316,6 +304,9 @@
      * pixel - {<OpenLayers.Pixel>} A pixel location on the map.
      */
     modifyFeature: function(pixel) {
+        if(!this.point) {
+            this.createFeature(pixel);
+        }
         var lonlat = this.map.getLonLatFromPixel(pixel);
         this.point.geometry.x = lonlat.lon;
         this.point.geometry.y = lonlat.lat;

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Polygon.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Polygon.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Handler/Polygon.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -75,13 +75,10 @@
      *     feature.
      */
     createFeature: function(pixel) {
-        var geometry;
-        if(pixel) {
-            var lonlat = this.map.getLonLatFromPixel(pixel);
-            geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
-        } else {
-            geometry = new OpenLayers.Geometry.Point();
-        }
+        var lonlat = this.map.getLonLatFromPixel(pixel);
+        var geometry = new OpenLayers.Geometry.Point(
+            lonlat.lon, lonlat.lat
+        );
         this.point = new OpenLayers.Feature.Vector(geometry);
         this.line = new OpenLayers.Feature.Vector(
             new OpenLayers.Geometry.LinearRing([this.point.geometry])
@@ -251,9 +248,13 @@
     /**
      * Method: destroyFeature
      * Destroy temporary geometries
+     *
+     * Parameters:
+     * force - {Boolean} Destroy even if persist is true.
      */
-    destroyFeature: function() {
-        OpenLayers.Handler.Path.prototype.destroyFeature.apply(this);
+    destroyFeature: function(force) {
+        OpenLayers.Handler.Path.prototype.destroyFeature.call(
+            this, force);
         this.polygon = null;
     },
 

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/Bing.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/Bing.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/Bing.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -11,7 +11,9 @@
  * Class: OpenLayers.Layer.Bing
  * Bing layer using direct tile access as provided by Bing Maps REST Services.
  * See http://msdn.microsoft.com/en-us/library/ff701713.aspx for more
- * information.
+ * information. Note: Terms of Service compliant use requires the map to be
+ * configured with an <OpenLayers.Control.Attribution> control and the
+ * attribution placed on or near the map.
  * 
  * Inherits from:
  *  - <OpenLayers.Layer.XYZ>

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/EventPane.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/EventPane.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/EventPane.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -108,7 +108,7 @@
         }
 
         if (this.isFixed) {
-            this.map.viewPortDiv.appendChild(this.pane);
+            this.map.eventsDiv.appendChild(this.pane);
         } else {
             this.map.layerContainerDiv.appendChild(this.pane);
         }

Copied: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/GoogleNG.js (from rev 12071, trunk/openlayers/lib/OpenLayers/Layer/GoogleNG.js)
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/GoogleNG.js	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/GoogleNG.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,328 @@
+/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for 
+ * full list of contributors). Published under the Clear BSD license.  
+ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
+ * full text of the license. */
+
+/**
+ * @requires OpenLayers/Layer/XYZ.js
+ * @requires OpenLayers/Tile/Google.js
+ */
+
+/** 
+ * Class: OpenLayers.Layer.GoogleNG
+ * Google layer using <OpenLayers.Tile.Google> tiles.
+ * 
+ * Inherits from:
+ *  - <OpenLayers.Layer.XYZ>
+ */
+OpenLayers.Layer.GoogleNG = OpenLayers.Class(OpenLayers.Layer.XYZ, {
+
+    /**
+     * Property: SUPPORTED_TRANSITIONS
+     * {Array} An immutable (that means don't change it!) list of supported 
+     *     transitionEffect values. This layer type supports none.
+     */
+    SUPPORTED_TRANSITIONS: [],
+    
+    /**
+     * Property: attributionTemplate
+     * {String}
+     */
+    attributionTemplate: '<span class="olGoogleAttribution ${mapType}">' +
+         '<div><a title="Click to see this area on Google Maps" ' + 
+         'target="_blank" href="http://maps.google.com/maps?' +
+         'll=${center}&z=${zoom}&t=${t}"><img width="62" height="24" ' +
+         'src="http://maps.gstatic.com/mapfiles/google_white.png"/></a>' +
+         '</div>${mapData}<a style="white-space: nowrap" target="_blank" ' +
+         'href="http://www.google.com/help/terms_maps.html">' +
+         'Terms of Use</a></span>',
+    
+    /**
+     * Property: mapTypes
+     * {Object} mapping of {google.maps.MapTypeId} to the t param of
+     * http://maps.google.com/maps? permalinks
+     */
+    mapTypes: {
+        "roadmap": "m",
+        "satellite": "k",
+        "hybrid": "h",
+        "terrain": "p"
+    },
+    
+    /**
+     * APIProperty: type
+     * {google.maps.MapTypeId} See
+     * http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeId
+     */
+    type: null,
+    
+    /**
+     * Constructor: OpenLayers.Layer.GoogleNG
+     * Create a new GoogleNG layer. Requires the GMaps v3 JavaScript API script
+     * (http://maps.google.com/maps/api/js?v=3.5&amp;sensor=false) loaded in
+     * the html document. Note: Terms of Service compliant use requires the map
+     * to be configured with an <OpenLayers.Control.Attribution> control and
+     * the attribution placed on the map.
+     *
+     * Example:
+     * (code)
+     * var terrain = new OpenLayers.Layer.GoogleNG({
+     *     name: "Google Terrain",
+     *     type: google.maps.MapTypeId.TERRAIN
+     * });
+     * (end)
+     *
+     * Parameters:
+     * options - {Object} Configuration properties for the layer.
+     *
+     * Required configuration properties:
+     * type - {google.maps.MapTypeId} The layer identifier.  See
+     *     http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeId
+     *     for valid types.
+     *
+     * Any other documented layer properties can be provided in the config object.
+     */
+    initialize: function(options) {
+        options = OpenLayers.Util.applyDefaults({
+            sphericalMercator: true
+        }, options);
+
+        if (!options.type) {
+            options.type = google.maps.MapTypeId.ROADMAP;
+        }
+        var newArgs = [options.name, null, options];
+        OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArgs);
+        
+        this.options.numZoomLevels = options.numZoomLevels;
+        if (!OpenLayers.Layer.GoogleNG.mapObject) {
+            OpenLayers.Layer.GoogleNG.mapObject =
+                new google.maps.Map(document.createElement("div"));
+        }
+        if (OpenLayers.Layer.GoogleNG.mapObject.mapTypes[this.type]) {
+            this.initLayer();
+        } else {
+            google.maps.event.addListenerOnce(
+                OpenLayers.Layer.GoogleNG.mapObject, 
+                "idle", 
+                OpenLayers.Function.bind(this.initLayer, this)
+            );
+        }
+    },
+
+    /**
+     * Method: initLayer
+     *
+     * Sets layer properties according to the metadata provided by the API
+     */
+    initLayer: function() {
+        var mapType = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[this.type];
+        if (!this.name) {
+            this.setName("Google " + mapType.name);
+        }
+        
+        var numZoomLevels = mapType.maxZoom + 1;
+        if (this.options.numZoomLevels != null) {
+            numZoomLevels = Math.min(numZoomLevels, this.options.numZoomLevels);
+        }
+        var restrictedMinZoom;
+        if (this.restrictedMinZoom || mapType.minZoom) {
+            restrictedMinZoom = Math.max(
+                mapType.minZoom || 0, this.restrictedMinZoom || 0
+            );
+        }
+        
+        this.addOptions({
+            restrictedMinZoom: restrictedMinZoom,
+            numZoomLevels: numZoomLevels,
+            tileSize: new OpenLayers.Size(
+                mapType.tileSize.width, mapType.tileSize.height
+            )
+        });
+        // redraw to populate tiles with content
+        this.redraw();
+    },
+
+    /**
+     * APIMethod: addTile
+     * Create a tile, initialize it, and add it to the layer div. 
+     *
+     * Parameters
+     * bounds - {<OpenLayers.Bounds>}
+     * position - {<OpenLayers.Pixel>}
+     *
+     * Returns:
+     * {<OpenLayers.Tile.Google>} The added OpenLayers.Tile.Google
+     */
+    addTile:function(bounds, position) {
+        return new OpenLayers.Tile.Google(
+            this, position, bounds, this.tileOptions
+        );
+    },
+    
+    /**
+     * Method: updateAttribution
+     * Updates the attribution using the <attributionTemplate>
+     *
+     * Parameters:
+     * copyrights - {Object} Object with "m", "k", "h" and "p" properties (see
+     *     <mapTypes>), each holding an array of copyrights.
+     */
+    updateAttribution: function(copyrights) {
+        var myCopyrights;
+        if (this.type == google.maps.MapTypeId.HYBRID) {
+            // the Copyright Service returns "k" and "m" copyrights for the
+            // HYBRID layer type.
+            var candidates = [].concat(
+                copyrights["h"], copyrights["k"], copyrights["m"]
+            );
+            myCopyrights = [];
+            for (var i=candidates.length-1; i>=0; --i) {
+                if (OpenLayers.Util.indexOf(candidates, myCopyrights) == -1) {
+                    myCopyrights.push(candidates[i]);
+                }
+            }
+        } else {
+            myCopyrights = copyrights[this.mapTypes[this.type]];
+        }
+        var mapData = myCopyrights.length == 0 ? "" :
+            "Map Data &copy;" + new Date().getFullYear() + " " +
+            myCopyrights.join(", ") + " - ";
+        var center = this.map.getCenter();
+        center && center.transform(
+            this.map.getProjectionObject(),
+            new OpenLayers.Projection("EPSG:4326")
+        );
+        var size = this.map.getSize();
+        this.attribution = OpenLayers.String.format(this.attributionTemplate, {
+            t: this.mapTypes[this.type],
+            zoom: this.map.getZoom(),
+            center: center.lat + "," + center.lon,
+            mapType: this.type,
+            mapData: mapData
+        });
+        this.map && this.map.events.triggerEvent("changelayer", {layer: this});
+    },
+    
+    /**
+     * Method: setMap
+     */
+    setMap: function() {
+        OpenLayers.Layer.XYZ.prototype.setMap.apply(this, arguments);
+        this.events.register("moveend", this,
+            OpenLayers.Layer.GoogleNG.loadCopyrights
+        );
+    },
+    
+    /**
+     * Method: removeMap
+     */
+    removeMap: function() {
+        OpenLayers.Layer.XYZ.prototype.removeMap.apply(this, arguments);
+        this.events.unregister("moveend", this,
+            OpenLayers.Layer.GoogleNG.loadCopyrights
+        );
+    },
+        
+    /**
+     * APIMethod: clone
+     * 
+     * Parameters:
+     * obj - {Object}
+     * 
+     * Returns:
+     * {<OpenLayers.Layer.GoogleNG>} An exact clone of this
+     * <OpenLayers.Layer.GoogleNG>
+     */
+    clone: function(obj) {
+        if (obj == null) {
+            obj = new OpenLayers.Layer.GoogleNG(this.options);
+        }
+        //get all additions from superclasses
+        obj = OpenLayers.Layer.XYZ.prototype.clone.apply(this, [obj]);
+        // copy/set any non-init, non-simple values here
+        return obj;
+    },
+    
+    CLASS_NAME: "OpenLayers.Layer.GoogleNG"
+});
+
+/**
+ * Property: mapObject
+ * {google.maps.Map} Shared GMaps instance - will be set upon instantiation of
+ * the 1st GoogleNG layer
+ */
+OpenLayers.Layer.GoogleNG.mapObject = null;
+
+/**
+ * Function: loadCopyrights
+ * Using the Google Maps Copyright Service mode (see
+ * http://mapki.com/wiki/Google_Map_Parameters#Misc) to get the attribution for
+ * the current map extent. Will be called by each GoogleNG layer instance on
+ * moveend. 
+ */
+OpenLayers.Layer.GoogleNG.loadCopyrights = function() {
+    var me = OpenLayers.Layer.GoogleNG.loadCopyrights;
+    if (me.numLoadingScripts == undefined) {
+        me.loadingScripts = [];
+        me.numLoadingScripts = 0;
+        me.copyrights = {"m": [], "k": [], "h": [], "p": []};
+        
+        // store window scope functions before overwriting them
+        me.origGAddCopyright = window.GAddCopyright;
+        me.origGVerify = window.GVerify;
+        me.origGAppFeatures = window.GAppFeatures;
+        
+        // defining window scope functions called by the script that the
+        // Copyright Service returns
+        window.GAddCopyright = function() {
+            var copyright = arguments[7];
+            var category = me.copyrights[arguments[0]];
+            if (OpenLayers.Util.indexOf(category, copyright) == -1) {
+                copyright && category.push(copyright);
+            }
+        };
+        window.GVerify = OpenLayers.Function.True;
+        window.GAppFeatures = OpenLayers.Function.bind(function() {
+            me.numLoadingScripts--;
+            if (me.numLoadingScripts == 0) {
+                var script;
+                for (var i=me.loadingScripts.length-1; i>=0; --i) {
+                    script = me.loadingScripts[i][0];
+                    me.loadingScripts[i][1].updateAttribution(me.copyrights);
+                    script.parentNode.removeChild(script);
+                }
+                
+                // restore original functions
+                window.GAddCopyright = me.origGAddCopyright;
+                delete me.origGAddCopyright;
+                window.GVerify = me.origGVerify;
+                delete me.origGVerify;
+                window.GAppFeatures = me.origGAppFeatures;
+                delete me.origGAppFeatures;
+                
+                delete me.loadingScripts;
+                delete me.numLoadingScripts;
+                delete me.copyrights;
+            }
+        }, this);
+    }
+    var mapProj = this.map.getProjectionObject();
+    var llProj = new OpenLayers.Projection("EPSG:4326");
+    var center = this.map.getCenter().transform(mapProj, llProj);
+    var extent = this.map.getExtent().transform(mapProj, llProj);
+    var params = {
+        spn: extent.getHeight() + "," + extent.getWidth(),
+        z: this.map.getZoom(),
+        t: this.mapTypes[this.type],
+        vp: center.lat + "," + center.lon
+    };
+    var url = "http://maps.google.com/maps?" +
+        OpenLayers.Util.getParameterString(params);
+    var script = document.createElement("script");
+    script.type = "text/javascript";
+    script.src = url;
+    me.numLoadingScripts++;
+    me.loadingScripts.push([script, this]);
+    document.getElementsByTagName("head")[0].appendChild(script);
+};
+

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/TMS.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/TMS.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/TMS.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -31,7 +31,11 @@
 
     /**
      * APIProperty: tileOrigin
-     * {<OpenLayers.Pixel>}
+     * {<OpenLayers.LonLat>} Optional origin for aligning the grid of tiles.
+     *     If provided, requests for tiles at all resolutions will be aligned
+     *     with this location (no tiles shall overlap this location).  If
+     *     not provided, the grid of tiles will be aligned with the map's
+     *     <maxExtent>.  Default is ``null``.
      */
     tileOrigin: null,
 

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/WMS.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/WMS.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/WMS.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -245,6 +245,10 @@
         } else {
             this.params.SRS = value;
         }
+        
+        if (typeof this.params.TRANSPARENT == "boolean") {
+            newParams.TRANSPARENT = this.params.TRANSPARENT ? "TRUE" : "FALSE";
+        }
 
         return OpenLayers.Layer.Grid.prototype.getFullRequestString.apply(
                                                     this, arguments);

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/XYZ.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/XYZ.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Layer/XYZ.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -140,10 +140,10 @@
      */
     getXYZ: function(bounds) {
         var res = this.map.getResolution();
-        var x = Math.round((bounds.left - this.maxExtent.left) 
-            / (res * this.tileSize.w));
-        var y = Math.round((this.maxExtent.top - bounds.top) 
-            / (res * this.tileSize.h));
+        var x = Math.round((bounds.left - this.maxExtent.left) /
+            (res * this.tileSize.w));
+        var y = Math.round((this.maxExtent.top - bounds.top) /
+            (res * this.tileSize.h));
         var z = this.serverResolutions != null ?
             OpenLayers.Util.indexOf(this.serverResolutions, res) :
             this.map.getZoom() + this.zoomOffset;

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/Elements.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/Elements.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/Elements.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -57,10 +57,8 @@
         this.compare = yOrdering ? 
             OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_Y_ORDER :
             OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_DRAWING_ORDER;
-            
-        this.order = [];
-        this.indices = {};
-        this.maxZIndex = 0;
+
+        this.clear();
     },
     
     /**

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/NG.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/NG.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/NG.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -32,22 +32,12 @@
      *     * zIndexing - {Boolean} Whether to use z-indexing. Will be ignored
      *         if yOrdering is set to true.
      */
-    initialize: function(containerID, options) {
-        OpenLayers.Renderer.Elements.prototype.initialize.apply(this, arguments);
-    },
 
     /**
-     * Method: destroy
-     */
-    destroy: function() {
-        OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
-    },
-
-    /**
      * Method: updateDimensions
      * To be extended by subclasses - here we set positioning related styles
      * on HTML elements, subclasses have to do the same for renderer specific
-     * elements (e.g. viesBox, width and height of the rendererRoot)
+     * elements (e.g. viewBox, width and height of the rendererRoot)
      */
     updateDimensions: function() {
         var mapExtent = this.map.getExtent();

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -67,13 +67,6 @@
     },
 
     /**
-     * APIMethod: destroy
-     */
-    destroy: function() {
-        OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
-    },
-    
-    /**
      * APIMethod: supported
      * 
      * Returns:

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG2.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG2.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/SVG2.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -58,13 +58,6 @@
     },
 
     /**
-     * APIMethod: destroy
-     */
-    destroy: function() {
-        OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
-    },
-    
-    /**
      * APIMethod: supported
      * 
      * Returns:

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/VML.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/VML.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Renderer/VML.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -67,14 +67,6 @@
     },
 
     /**
-     * APIMethod: destroy
-     * Deconstruct the renderer.
-     */
-    destroy: function() {
-        OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
-    },
-
-    /**
      * APIMethod: supported
      * Determine whether a browser supports this renderer.
      *

Copied: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile/Google.js (from rev 12071, trunk/openlayers/lib/OpenLayers/Tile/Google.js)
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile/Google.js	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile/Google.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,155 @@
+/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for 
+ * full list of contributors). Published under the Clear BSD license.  
+ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
+ * full text of the license. */
+
+
+/*
+ * @requires OpenLayers/BaseTypes/Class.js
+ * @requires OpenLayers/Util.js
+ * @requires OpenLayers/Console.js
+ * @requires OpenLayers/Lang.js
+ */
+
+/*
+ * Class: OpenLayers.Tile.Google
+ * Instances of OpenLayers.Tile.Google are used to manage the tiles created
+ * by google.maps.MapType (see
+ * http://code.google.com/apis/maps/documentation/javascript/reference.html#MapType).
+ *
+ * Inherits from:
+ *  - <OpenLayers.Tile>
+ */
+OpenLayers.Tile.Google = OpenLayers.Class(OpenLayers.Tile, {
+    
+    /**
+     * Property: node
+     * {DOMElement} The tile node from the MapType's getTile method
+     */
+    node: null,
+        
+    /** 
+     * Constructor: OpenLayers.Tile.Google
+     * Constructor for a new <OpenLayers.Tile.Google> instance.
+     * 
+     * Parameters:
+     * layer - {<OpenLayers.Layer>} layer that the tile will go in.
+     * position - {<OpenLayers.Pixel>}
+     * bounds - {<OpenLayers.Bounds>}
+     * options - {Object}
+     */   
+    initialize: function(layer, position, bounds, options) {
+        OpenLayers.Tile.prototype.initialize.apply(this, [
+            layer, position, bounds, null, null, options
+        ]);
+    },
+
+    /** 
+     * APIMethod: destroy
+     * Nullify references to prevent circular references and memory leaks.
+     */
+    destroy:function() {
+        this.node && this.clear();
+        this.node = null;
+        OpenLayers.Tile.prototype.destroy.apply(this, arguments);
+    },
+    
+    /**
+     * Method: clone
+     *
+     * Parameters:
+     * obj - {<OpenLayers.Tile>} The tile to be cloned
+     *
+     * Returns:
+     * {<OpenLayers.Tile>} An exact clone of this <OpenLayers.Tile.Google>
+     */
+    clone: function (obj) {
+        if (obj == null) {
+            obj = new OpenLayers.Tile.Google(this.layer, 
+                                      this.position, 
+                                      this.bounds);
+        } 
+        
+        // catch any randomly tagged-on properties
+        OpenLayers.Util.applyDefaults(obj, this);
+        
+        obj.node = null;
+        
+        return obj;
+    },
+
+    /**
+     * Method: draw
+     * Check that a tile should be drawn, and draw it.
+     * 
+     * Returns:
+     * {Boolean} Always returns true.
+     */
+    draw: function() {
+        var layerType = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[
+            this.layer.type
+        ];
+        if (layerType && OpenLayers.Tile.prototype.draw.apply(this, arguments)) {
+            var xyz = this.layer.getXYZ(this.bounds);
+            var point = new google.maps.Point(xyz.x, xyz.y);
+
+            // The hybrid tile consists of two images. For some reason, we have
+            // to make sure that the satellite image loads first, otherwise we
+            // occasionally get blank tiles for one of the two images. This is
+            // done by requesting the tile for just the satellite mapType
+            // first, before requesting the hybrid one.
+            //TODO revisit this - it may be a temporary issue with GMaps
+            var tempTile;
+            if (this.layer.type === google.maps.MapTypeId.HYBRID) {
+                tempTile = layerType.getTile(point, xyz.z, document);
+            }
+            
+            this.node = layerType.getTile(point, xyz.z, document);
+                        
+            this.isLoading = true;
+            this.events.triggerEvent("loadstart");
+
+            this.layer.div.appendChild(this.node);
+            
+            // We only modify what we need to - we expect the size to be set
+            // by getTile, and we have a test that will fail if this changes.
+            OpenLayers.Util.modifyDOMElement(
+                this.node, null, this.position, null, "absolute"
+            );  
+            
+            // The images inside the node returned from getTile seem to be
+            // preloaded already, so registering onload events on these images
+            // won't work. Instead, we trigger the loadend event immediately
+            // in the next cycle.
+            window.setTimeout(OpenLayers.Function.bind(function() {
+                this.isLoading = false;
+                // check for this.events - we may be destroyed already
+                this.events && this.events.triggerEvent("loadend"); 
+
+                // see hybrid tile issue above
+                //TODO revisit this - it may be a temporary issue with GMaps
+                if (tempTile) {
+                    layerType.releaseTile(tempTile);
+                }
+            }, this), 0);
+        }
+        return true;
+    },
+    
+    /** 
+     * Method: clear
+     * Clear the tile of any bounds/position-related data so that it can 
+     *     be reused in a new location. To be implemented by subclasses.
+     */
+    clear: function() {
+        if (this.node) {
+            this.node.parentNode &&
+                this.node.parentNode.removeChild(this.node);
+            OpenLayers.Layer.GoogleNG.mapObject.mapTypes[
+                this.layer.type
+            ].releaseTile(this.node);
+        }
+    },
+    
+    CLASS_NAME: "OpenLayers.Tile.Google"
+});

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers/Tile.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -103,7 +103,9 @@
         this.position = position.clone();
         this.bounds = bounds.clone();
         this.url = url;
-        this.size = size.clone();
+        if (size) {
+            this.size = size.clone();
+        }
 
         //give the tile a unique id based on its BBOX.
         this.id = OpenLayers.Util.createUniqueID("Tile_");

Modified: sandbox/bartvde/wps/openlayers/lib/OpenLayers.js
===================================================================
--- sandbox/bartvde/wps/openlayers/lib/OpenLayers.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/lib/OpenLayers.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -120,6 +120,7 @@
                 "OpenLayers/Marker/Box.js",
                 "OpenLayers/Popup.js",
                 "OpenLayers/Tile.js",
+                "OpenLayers/Tile/Google.js",
                 "OpenLayers/Tile/Image.js",
                 "OpenLayers/Tile/Image/IFrame.js",
                 "OpenLayers/Tile/WFS.js",
@@ -152,6 +153,7 @@
                 "OpenLayers/Layer/Boxes.js",
                 "OpenLayers/Layer/XYZ.js",
                 "OpenLayers/Layer/Bing.js",
+                "OpenLayers/Layer/GoogleNG.js",
                 "OpenLayers/Layer/TMS.js",
                 "OpenLayers/Layer/TileCache.js",
                 "OpenLayers/Layer/Zoomify.js",

Deleted: sandbox/bartvde/wps/openlayers/news.txt
===================================================================
--- sandbox/bartvde/wps/openlayers/news.txt	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/news.txt	2011-06-08 13:05:12 UTC (rev 12072)
@@ -1,54 +0,0 @@
-OpenLayers 2.9:
- r10251
- Released 04/22/10
- http://trac.openlayers.org/wiki/Release/2.9/Notes
-
-OpenLayers 2.8:
- r9492
- Released 06/22/09
- http://trac.openlayers.org/wiki/Release/2.8/Notes
-
-OpenLayers 2.7:
- r8063
- Released 09/29/08
- http://trac.openlayers.org/wiki/Release/2.7/Notes
-
-OpenLayers 2.6:
- r6945
- Released 04/15/08
- http://trac.openlayers.org/wiki/Release/2.6/Notes
-
-OpenLayers 2.5:
- r4899
- Released 10/09/07 
- http://trac.openlayers.org/wiki/Release/2.5/Notes
-
-OpenLayers 2.4:
- r3198
- Released 05/29/07 
- http://trac.openlayers.org/wiki/Release/2.4/Notes
-
-OpenLayers 2.3:
- r2255
- Released 02/21/07 
- http://trac.openlayers.org/wiki/Release/2.3/Notes
-
-OpenLayers 2.2:
- r1866
- Released 11/15/06 
- http://trac.openlayers.org/wiki/Release/2.2/Notes
-
-OpenLayers 2.1:
- r1521
- Released 10/02/06
- http://trac.openlayers.org/wiki/Release/2.1/Notes
-
-OpenLayers 2.0:
- r1368
- Released 08/25/06
- http://trac.openlayers.org/wiki/Release/2.0/Notes
-
-OpenLayers 1.0
- r787
- Released 06/27/06
- Initial release.

Modified: sandbox/bartvde/wps/openlayers/tests/Control/DrawFeature.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Control/DrawFeature.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Control/DrawFeature.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -60,7 +60,7 @@
     }
     
     function test_sketch_events(t) {
-        t.plan(12);
+        t.plan(11);
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
         });
@@ -93,12 +93,12 @@
         // mock up draw/modify of a point
         log = {};
         control.activate();
-        t.eq(log.sketchstarted.type, "sketchstarted", "[activate] sketchstarted triggered");
-        t.ok(isNaN(log.sketchstarted.vertex.x) && isNaN(log.sketchstarted.vertex.y),
-             "[activate] correct vertex (NaN)");
+        t.eq(log, {}, "[activate] no event triggered");
 
         log = {};
         map.events.triggerEvent("mousemove", {xy: new OpenLayers.Pixel(0, 0)});
+        t.eq(log.sketchstarted.type, "sketchstarted", "[mousemove] sketchstarted triggered");
+        t.geom_eq(log.sketchstarted.vertex, new OpenLayers.Geometry.Point(-200, 125), "[mousemove] correct vertex");
         t.eq(log.sketchmodified.type, "sketchmodified", "[mousemove] sketchmodified triggered");
         t.geom_eq(log.sketchmodified.vertex, new OpenLayers.Geometry.Point(-200, 125), "[mousemove] correct vertex");
 
@@ -123,9 +123,6 @@
                       new OpenLayers.Geometry.Point(-190, 115)
                   ]),
                   "[dblclick] correct geometry");
-        t.eq(log.sketchstarted.type, "sketchstarted", "[dblclick] sketchstarted triggered");
-        t.ok(isNaN(log.sketchstarted.vertex.x) && isNaN(log.sketchstarted.vertex.y),
-             "[dblclick] correct vertex (NaN)");
 
         map.destroy();
     }

Modified: sandbox/bartvde/wps/openlayers/tests/Control/LayerSwitcher.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Control/LayerSwitcher.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Control/LayerSwitcher.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -3,6 +3,7 @@
   <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
+    OpenLayers.Lang.setCode('en');
 
     function test_Control_LayerSwitcher_constructor (t) {
         t.plan( 2 );

Modified: sandbox/bartvde/wps/openlayers/tests/Control/Measure.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Control/Measure.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Control/Measure.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -52,10 +52,9 @@
             })
         };
 
+        trigger("mousemove", 0, 0);
         // keep a reference to the line being drawn
         var line = control.handler.line;
-
-        trigger("mousemove", 0, 0);
         trigger("mousedown", 0, 0);
         trigger("mouseup", 0, 0);
         trigger("mousemove", 10, 10);

Modified: sandbox/bartvde/wps/openlayers/tests/Format/GeoRSS.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Format/GeoRSS.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Format/GeoRSS.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -80,7 +80,15 @@
         var parser = new OpenLayers.Format.GeoRSS();
         var items = parser.read('<rss version="2.0" xmlns:georss="http://www.georss.org/georss"><item><description>  <![CDATA[foo]]></description></item></rss>');
         t.eq(items.length, 1, "item created");
-        t.eq(items[0].attributes.description, "  foo", "description value is ok");
+
+        // when parsing a node composed of both spaces and a cdata section
+        // (e.g. <description>  <![DATA[foo]]></description> IE8 ignores
+        // the leading white spaces, and reports that the node does not
+        // include a text node. For that reason, we need to trim the
+        // string value resulting from the parsing.
+
+        var description = OpenLayers.String.trim(items[0].attributes.description);
+        t.eq(description, "foo", "description value is ok");
     }
              
     var shell_start = '<feed xmlns="http://www.w3.org/2005/Atom" \n              xmlns:georss="http://www.georss.org/georss">\n              <title>scribble</title>\n              <id>http://featureserver.org/featureserver.cgi/scribble?format=atom</id>\n              <author><name>FeatureServer</name></author>\n';             

Modified: sandbox/bartvde/wps/openlayers/tests/Format/WMSCapabilities/v1_1_1.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Format/WMSCapabilities/v1_1_1.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Format/WMSCapabilities/v1_1_1.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -5,7 +5,7 @@
     
     function test_read(t) {
         
-        t.plan(17);
+        t.plan(23);
 
         var xml = document.getElementById("gssample").firstChild.nodeValue;
         var doc = new OpenLayers.Format.XML().read(xml);
@@ -32,7 +32,41 @@
             undefined,
             "getmap.post not available"
         );
+
+        var describelayer = capability.request.describelayer;
+        t.eq(
+            describelayer.href,
+            "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+            "describelayer href parsed"
+        );
+        t.eq(
+            describelayer.get.href,
+            describelayer.href,
+            "describelayer.get.href parsed"
+        );
+        t.eq(
+            describelayer.post,
+            undefined,
+            "describelayer.post not available"
+        );
         
+        var getfeatureinfo = capability.request.getfeatureinfo;
+        t.eq(
+            getfeatureinfo.href,
+            "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+            "getfeatureinfo href parsed"
+        );
+        t.eq(
+            getfeatureinfo.get.href,
+            getfeatureinfo.href,
+            "getmap.get.href parsed"
+        );
+        t.eq(
+            getfeatureinfo.post.href,
+            "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+            "getfeatureinfo.post set correctly"
+        );
+        
         t.ok(capability.layers, "layers parsed");
         t.eq(capability.layers.length, 22, "correct number of layers parsed");
         

Modified: sandbox/bartvde/wps/openlayers/tests/Handler/Box.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Handler/Box.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Handler/Box.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -3,16 +3,17 @@
   <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Box_constructor(t) {
-        t.plan(4);
+        t.plan(5);
         var control = new OpenLayers.Control();
         control.id = Math.random();
-        var callbacks = {done: "bar"};
+        var callbacks = {start: "foo", done: "bar"};
         var options = {bar: "foo"};
         
         var handler = new OpenLayers.Handler.Box(control, callbacks, options);
 
         t.eq(handler.control.id, control.id, "handler created with the correct control");
-        t.eq(handler.callbacks.done, "bar", "handler created with the correct callback");
+        t.eq(handler.callbacks.start, "foo", "handler created with the correct start callback");
+        t.eq(handler.callbacks.done, "bar", "handler created with the correct done callback");
         t.eq(handler.bar, "foo", "handler created with the correct options");
         t.ok(handler.dragHandler instanceof OpenLayers.Handler.Drag, "drag handler created");
     }
@@ -22,9 +23,14 @@
         var map = new OpenLayers.Map('map');
         var control = new OpenLayers.Control();
         map.addControl(control);
-        var handler = new OpenLayers.Handler.Box(control, {done: function(e) {
-            t.ok(e.equals(new OpenLayers.Bounds(5, 11, 11, 5)), "box result correct");
-        }});
+        var handler = new OpenLayers.Handler.Box(control, {
+            start: function(e) {
+                t.ok(true, "start callback called");
+            },
+            done: function(e) {
+                t.ok(e.equals(new OpenLayers.Bounds(5, 11, 11, 5)), "box result correct");
+            }
+        });
         handler.activate();
 
         // determine whether we can test the box position, the hidden frame
@@ -39,7 +45,7 @@
         map.div.removeChild(testdiv);
         var testAll = !isNaN(left);
 
-        t.plan(testAll ? 10 : 2);
+        t.plan(testAll ? 11 : 3);
 
         // we change NaN values to 0 values in the handler's
         // boxOffsets object, this is to prevent "invalid

Modified: sandbox/bartvde/wps/openlayers/tests/Handler/Path.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Handler/Path.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Handler/Path.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -25,7 +25,7 @@
     }
 
     function test_Handler_Path_activation(t) {
-        t.plan(12);
+        t.plan(5);
         var log = [];
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
@@ -36,11 +36,7 @@
         });
         map.addLayer(layer);
         var control = new OpenLayers.Control();
-        var handler = new OpenLayers.Handler.Path(control, {
-            "create": function(g, f) {
-                log.push({geometry: g, feature: f});
-            }
-        });
+        var handler = new OpenLayers.Handler.Path(control, {});
         control.handler = handler;
         map.addControl(control);
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,20 +53,6 @@
              "activate creates a vector layer");
         t.ok(handler.layer.map == map,
              "activate adds the vector layer to the map");
-        t.ok(handler.point instanceof OpenLayers.Feature.Vector,
-             "activate creates a point feature");
-        t.ok(handler.point.layer == handler.layer,
-             "activate adds the point feature to the layer");
-        t.ok(handler.line instanceof OpenLayers.Feature.Vector,
-             "acttivates creates a line feature");
-        t.ok(handler.line.layer == handler.layer,
-             "activate adds the line feature to the layer");
-        t.eq(log.length, 1,
-             "activate calls \"create\" once");
-        t.ok(log[0].geometry == handler.point.geometry,
-                  "\"create\" called with expected geometry");
-        t.ok(log[0].feature == handler.line,
-             "\"create\" called with expected feature");
         activated = handler.deactivate();
         t.ok(activated,
              "deactivate returns true if the handler was active already");
@@ -105,7 +87,7 @@
     }
 
     function test_bounds(t) {
-        t.plan(5);
+        t.plan(4);
         var geometry;
         var map = new OpenLayers.Map('map');
         map.addLayer(new OpenLayers.Layer.WMS("", "", {}));
@@ -115,8 +97,6 @@
         var handler = new OpenLayers.Handler.Path(control, {},
             {stopDown: true, stopUp: true});
         var activated = handler.activate();
-        t.eq(handler.layer.features.length, 2,
-            "There are two features in the layer after activation.");
         // click on (150, 75)
         var evt = {xy: new OpenLayers.Pixel(150, 75), which: 1};
         handler.mousemove(evt);
@@ -150,7 +130,7 @@
     }     
 
     function test_callbacks(t) {
-        t.plan(45);
+        t.plan(39);
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
         });
@@ -185,20 +165,19 @@
         map.addControl(control);
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
         
-        // create line
         handler.activate();
-        t.eq(logs.length, 1, "[activate] called back");
-        log = logs.shift();
-        t.eq(log.type, "create", "[activate] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[activate] initial point");
-        t.ok(log.args[1] == handler.line,
-             "[activate] correct feature");
+
         // mouse move
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
-        t.eq(logs.length, 1, "[mousemove] called back");
+        t.eq(logs.length, 2, "[mousemove] called back twice");
         log = logs.shift();
+        t.eq(log.type, "create", "[mousemove] create called");
+        t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+                  "[mousemove] correct point");
+        t.ok(log.args[1] === handler.line,
+             "[mousemove] correct feature");
+        log = logs.shift();
         t.eq(log.type, "modify", "[mousemove] modify called");
         t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
                   "[mousemove] correct point");
@@ -279,7 +258,7 @@
         // double click
         handler.dblclick({type: "dblclick",
                           xy: new OpenLayers.Pixel(10, 10)});
-        t.eq(logs.length, 2, "[dblclick] called back twice");
+        t.eq(logs.length, 1, "[dblclick] called back");
         log = logs.shift();
         t.eq(log.type, "done", "[dblclick] done called");
         t.geom_eq(log.args[0],
@@ -289,24 +268,13 @@
             ]),
             "[dblclick] correct linestring"
         );
-        log = logs.shift();
-        t.eq(log.type, "create", "[dblclick] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[dblclick] initial point");
-        t.ok(log.args[1] == handler.line,
-             "[dblclick] correct feature");
         // cancel
         handler.cancel();
-        t.eq(logs.length, 2, "[cancel] called back");
+        t.eq(logs.length, 1, "[cancel] called back");
         log = logs.shift();
         t.eq(log.type, "cancel", "[cancel] canced called");
-        t.ok(isNaN(log.args[0].components[0].x) && isNaN(log.args[0].components[0].y),
-            "[cancel] initial linestring"
+        t.eq(log.args[0], null, "[cancel] got null"
         );
-        log = logs.shift();
-        t.eq(log.type, "create", "[cancel] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[cancel] initial point");
  
         map.destroy();
     }
@@ -379,9 +347,9 @@
         handler.activate();
 
         handler.persist = false;
-        var feature1 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature1 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -393,9 +361,9 @@
         t.ok(feature1.layer == null, "a) feature1 destroyed");
 
         handler.persist = true;
-        var feature2 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature2 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -406,9 +374,9 @@
             {type: "dblclick", xy: new OpenLayers.Pixel(1, 1)});
         t.ok(feature2.layer != null, "b) feature2 not destroyed");
 
-        var feature3 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature3 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -442,9 +410,9 @@
         handler.activate();
 
         handler.persist = false;
-        var feature1 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature1 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -456,9 +424,9 @@
         t.ok(feature1.layer == null, "a) feature1 destroyed");
 
         handler.persist = true;
-        feature2 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        feature2 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -469,9 +437,9 @@
             {type: "mouseup", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         t.ok(feature2.layer != null, "b) feature2 not destroyed");
 
-        feature3 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        feature3 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -483,9 +451,9 @@
         t.ok(feature3.layer != null, "c) feature3 not destroyed");
         t.ok(feature2.layer == null, "c) feature2 destroyed");
 
-        feature4 = handler.line;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        feature4 = handler.line;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: false});
         handler.mousemove(

Modified: sandbox/bartvde/wps/openlayers/tests/Handler/Point.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Handler/Point.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Handler/Point.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -25,8 +25,7 @@
     }
 
     function test_Handler_Point_activation(t) {
-        t.plan(11);
-        var log = [];
+        t.plan(6);
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
         });
@@ -36,11 +35,7 @@
         });
         map.addLayer(layer);
         var control = new OpenLayers.Control();
-        var handler = new OpenLayers.Handler.Point(control, {
-            "create": function(g, f) {
-                log.push({geometry: g, feature: f});
-            }
-        });
+        var handler = new OpenLayers.Handler.Point(control, {});
         control.handler = handler;
         map.addControl(control);
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,16 +52,6 @@
              "activate creates a vector layer");
         t.ok(handler.layer.map == map,
              "activate adds the vector layer to the map");
-        t.ok(handler.point instanceof OpenLayers.Feature.Vector,
-             "activate creates a feature");
-        t.ok(handler.point.layer == handler.layer,
-             "activate adds the feature to the layer");
-        t.eq(log.length, 1,
-             "activate calls \"create\" once");
-        t.ok(log[0].geometry == handler.point.geometry,
-                  "\"create\" called with expected geometry");
-        t.ok(log[0].feature == handler.point,
-             "\"create\" called with expected feature");
         activated = handler.deactivate();
         t.ok(activated,
              "deactivate returns true if the handler was active already");
@@ -176,7 +161,7 @@
     }
     
     function test_callbacks(t) {
-        t.plan(28);
+        t.plan(24);
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
         });
@@ -209,18 +194,20 @@
         map.addControl(control);
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
         
-        // create point
         handler.activate();
-        t.eq(logs.length, 1, "[activate] called back");
-        log = logs.shift();
-        t.eq(log.type, "create", "[activate] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-             "[activate] initial point");
+
         // mouse down
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
-        t.eq(logs.length, 1, "[mousedown] called back");
+        t.eq(logs.length, 2, "[mousedown] called back twice");
         log = logs.shift();
+        t.eq(log.type, "create", "[mousedown] create called");
+        t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+                  "[mousedown] correct point");
+        t.geom_eq(log.args[1].geometry,
+                  new OpenLayers.Geometry.Point(-150, 75),
+                  "[mousedown] correct feature");
+        log = logs.shift();
         t.eq(log.type, "modify", "[mousedown] modify called");
         t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
                   "[mousedown] correct point");
@@ -258,29 +245,20 @@
                   "[mousedown] correct feature");
         // mouse up
         handler.mouseup({type: "mouseup", xy: new OpenLayers.Pixel(2, 0)});
-        t.eq(logs.length, 2, "[mouseup] called back twice");
+        t.eq(logs.length, 1, "[mouseup] called back");
         log = logs.shift();
         t.eq(log.type, "done", "[mouseup] done called");
         t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-148, 75),
                   "[mouseup] correct point");
-        log = logs.shift();
-        t.eq(log.type, "create", "[mouseup] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-             "[mouseup] initial point");
         // mouse up on same pixel
         handler.mouseup({type: "mouseup", xy: new OpenLayers.Pixel(2, 0)});
         t.eq(logs.length, 0, "[mouseup] not called back");
         // cancel
         handler.cancel();
-        t.eq(logs.length, 2, "[cancel] called back");
+        t.eq(logs.length, 1, "[cancel] called back");
         log = logs.shift();
-        t.eq(log.type, "cancel", "[cancel] canced called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-             "[cancel] initial point");
-        log = logs.shift();
-        t.eq(log.type, "create", "[cancel] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-             "[] initial point");
+        t.eq(log.type, "cancel", "[cancel] cancel called");
+        t.eq(log.args[0], null, "[cancel] got null");
 
         map.destroy();
     }
@@ -308,7 +286,7 @@
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
             {type: "mouseup", xy: new OpenLayers.Pixel(0, 0)});
-        t.eq(handler.layer.features.length, 1,
+        t.eq(handler.layer.features.length, 0,
              "feature destroyed on mouseup when persist is false");
 
         handler.persist = true;
@@ -316,7 +294,7 @@
             {type: "mousedown", xy: new OpenLayers.Pixel(1, 0)});
         handler.mouseup(
             {type: "mouseup", xy: new OpenLayers.Pixel(1, 0)});
-        t.eq(handler.layer.features.length, 2,
+        t.eq(handler.layer.features.length, 1,
              "feature not destroyed on mouseup when persist is true");
         var feature = handler.layer.features[0];
         handler.mousedown(
@@ -352,6 +330,7 @@
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
 
         handler.activate();
+        handler.mousemove({xy: new OpenLayers.Pixel(0, 0)});
         var _layer = handler.layer;
         var _geometry = handler.point.geometry;
         handler.deactivate();
@@ -405,6 +384,7 @@
         var handler = new OpenLayers.Handler.Point(control, {foo: 'bar'});
 
         handler.activate();
+        handler.mousemove({xy: new OpenLayers.Pixel(150, 75)});
 
         t.ok(handler.layer,
              "handler has a layer prior to destroy");
@@ -544,13 +524,11 @@
         ret = handler.touchstart({xy: new OpenLayers.Pixel(0, 0)});
         t.ok(ret, '[touchstart] event propagates');
         t.eq(log, null, '[touchstart] no finalization');
-        t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
-             '[touchstart] feature not modified');
+        t.eq(handler.point, null, '[touchstart] feature not modified');
         ret = handler.touchmove({xy: new OpenLayers.Pixel(1, 0)});
         t.ok(ret, '[touchmove] event propagates');
         t.eq(log, null, '[touchmove] no finalization');
-        t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
-             '[touchmove] feature not modified');
+        t.eq(handler.point, null, '[touchmove] feature not modified');
         ret = handler.touchend({});
         t.ok(ret, '[touchend] event propagates');
         t.geom_eq(log.geometry, new OpenLayers.Geometry.Point(-149, 75),
@@ -595,17 +573,17 @@
         ret = handler.touchstart({xy: new OpenLayers.Pixel(0, 0)});
         t.ok(ret, '[touchstart] event propagates');
         t.eq(log, null, '[touchstart] no finalization');
-        t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+        t.eq(handler.point, null, null,
              '[touchstart] feature not modified');
         ret = handler.touchmove({xy: new OpenLayers.Pixel(9, 0)});
         t.ok(ret, '[touchmove] event propagates');
         t.eq(log, null, '[touchmove] no finalization');
-        t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+        t.eq(handler.point, null,
              '[touchmove] feature not modified');
         ret = handler.touchend({});
         t.ok(ret, '[touchend] event propagates');
         t.eq(log, null, '[touchend] no finalization');
-        t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+        t.eq(handler.point, null,
              '[touchend] feature not modified');
 
         // tear down

Modified: sandbox/bartvde/wps/openlayers/tests/Handler/Polygon.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Handler/Polygon.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Handler/Polygon.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -25,7 +25,7 @@
     }
 
     function test_Handler_Polygon_activation(t) {
-        t.plan(13);
+        t.plan(5);
         var log = [];
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
@@ -36,11 +36,7 @@
         });
         map.addLayer(layer);
         var control = new OpenLayers.Control();
-        var handler = new OpenLayers.Handler.Polygon(control, {
-            "create": function(g, f) {
-                log.push({geometry: g, feature: f});
-            }
-        });
+        var handler = new OpenLayers.Handler.Polygon(control, {});
         control.handler = handler;
         map.addControl(control);
         map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,22 +53,6 @@
              "activate creates a vector layer");
         t.ok(handler.layer.map == map,
              "activate adds the vector layer to the map");
-        t.ok(handler.point instanceof OpenLayers.Feature.Vector,
-             "activate creates a point feature");
-        t.ok(handler.point.layer == handler.layer,
-             "activate adds the point feature to the layer");
-        t.ok(handler.line instanceof OpenLayers.Feature.Vector,
-             "activates creates a line feature");
-        t.ok(handler.polygon instanceof OpenLayers.Feature.Vector,
-             "acttivates creates a polygon feature");
-        t.ok(handler.polygon.layer == handler.layer,
-             "activate adds the polygin feature to the layer");
-        t.eq(log.length, 1,
-             "activate calls \"create\" once");
-        t.ok(log[0].geometry == handler.point.geometry,
-                  "\"create\" called with expected geometry");
-        t.ok(log[0].feature == handler.polygon,
-             "\"create\" called with expected feature");
         activated = handler.deactivate();
         t.ok(activated,
              "deactivate returns true if the handler was active already");
@@ -140,7 +120,7 @@
     }
 
     function test_callbacks(t) {
-        t.plan(45);
+        t.plan(39);
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
         });
@@ -178,17 +158,16 @@
         
         // create polygon
         handler.activate();
-        handler.activate();
-        t.eq(logs.length, 1, "[activate] called back");
+
+        handler.mousemove(
+            {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        t.eq(logs.length, 2, "[mousemove] called back");
         log = logs.shift();
         t.eq(log.type, "create", "[activate] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[activate] initial point");
+        t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+                  "[mousemove] correct point");
         t.ok(log.args[1] == handler.polygon,
-             "[activate] correct feature");
-        handler.mousemove(
-            {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
-        t.eq(logs.length, 1, "[mousemove] called back");
+             "[mousemove] correct feature");
         log = logs.shift();
         t.eq(log.type, "modify", "[mousemove] modify called");
         t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
@@ -287,7 +266,7 @@
         // dblclick
         handler.dblclick(
             {type: "dblclick", xy: new OpenLayers.Pixel(0, 10)});
-        t.eq(logs.length, 2, "[dblclick] called back twice");
+        t.eq(logs.length, 1, "[dblclick] called back");
         log = logs.shift();
         t.eq(log.type, "done", "[dblclick] done called");
         t.geom_eq(
@@ -302,21 +281,11 @@
             ]),
             "[dblclick] correct polygon"
         );
-        log = logs.shift();
-        t.eq(log.type, "create", "[dblclick] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[dblclick] initial point");
-        t.ok(log.args[1] == handler.polygon,
-             "[dblclick] correct feature");
         // cancel
         handler.cancel();
-        t.eq(logs.length, 2, "[cancel] called back");
+        t.eq(logs.length, 1, "[cancel] called back");
         log = logs.shift();
         t.eq(log.type, "cancel", "[cancel] canced called");
-        log = logs.shift();
-        t.eq(log.type, "create", "[cancel] create called");
-        t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
-                  "[cancel] initial point");
 
         map.destroy();
     }        
@@ -389,9 +358,9 @@
         handler.activate();
 
         handler.persist = false;
-        var feature1 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature1 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -409,9 +378,9 @@
         t.ok(feature1.layer == null, "a) feature1 destroyed");
 
         handler.persist = true;
-        var feature2 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature2 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -428,9 +397,9 @@
             {type: "dblclick", xy: new OpenLayers.Pixel(2, 2)});
         t.ok(feature2.layer != null, "b) feature2 not destroyed");
 
-        var feature3 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature3 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
         handler.mouseup(
@@ -470,9 +439,9 @@
         handler.activate();
 
         handler.persist = false;
-        var feature1 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature1 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -484,9 +453,9 @@
         t.ok(feature1.layer == null, "a) feature1 destroyed");
 
         handler.persist = true;
-        var feature2 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature2 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -497,9 +466,9 @@
             {type: "mouseup", xy: new OpenLayers.Pixel(2, 2), shiftKey: true});
         t.ok(feature2.layer != null, "b) feature2 not destroyed");
 
-        var feature3 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        var feature3 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
         handler.mousemove(
@@ -511,9 +480,9 @@
         t.ok(feature3.layer != null, "c) feature3 not destroyed");
         t.ok(feature2.layer == null, "c) feature2 destroyed");
 
-        feature4 = handler.polygon;
         handler.mousemove(
             {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+        feature4 = handler.polygon;
         handler.mousedown(
             {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: false});
         handler.mousemove(

Modified: sandbox/bartvde/wps/openlayers/tests/Layer/Bing.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Layer/Bing.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Layer/Bing.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -22,7 +22,9 @@
             log.push(script.src);
             origProcessMetadata.apply(this, arguments);
         };
-        layer = new OpenLayers.Layer.Bing({metadataParams: {foo: "bar"}});
+        layer = new OpenLayers.Layer.Bing(OpenLayers.Util.extend({
+            metadataParams: {foo: "bar"}
+        }, options));
         t.ok(layer instanceof OpenLayers.Layer.Bing, "returns OpenLayers.Layer.Bing object" );
         t.delay_call(5, function() {
             t.eq(log.length, 1, "processMetadata called");

Copied: sandbox/bartvde/wps/openlayers/tests/Layer/GoogleNG.html (from rev 12071, trunk/openlayers/tests/Layer/GoogleNG.html)
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Layer/GoogleNG.html	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/tests/Layer/GoogleNG.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,103 @@
+<html>
+<head>
+  <script src="http://maps.google.com/maps/api/js?sensor=false&v=3.5"></script>
+  <script src="../OLLoader.js"></script>
+  <script type="text/javascript">
+    var map, layer; 
+
+    function test_constructor(t) {
+        t.plan(2);
+                       
+        layer = new OpenLayers.Layer.GoogleNG({type: google.maps.MapTypeId.HYBRID});
+        t.ok(layer instanceof OpenLayers.Layer.GoogleNG, "returns OpenLayers.Layer.GoogleNG object" );
+        t.eq(layer.type, google.maps.MapTypeId.HYBRID, "Layer type set");
+    }
+    
+    function test_initLayer(t) {
+        t.plan(6);
+
+        map = new OpenLayers.Map("map");
+        var log = {};
+        layer = new OpenLayers.Layer.GoogleNG({
+            numZoomLevels: 10,
+            restrictedMinZoom: 2,
+            initLayer: function() {
+                log[layer.id] = true;
+                OpenLayers.Layer.GoogleNG.prototype.initLayer.apply(this, arguments);
+            }
+        });
+        map.addLayer(layer);
+        map.zoomToMaxExtent();
+        
+        var map2 = new OpenLayers.Map("map2");
+        var layer2 = new OpenLayers.Layer.GoogleNG({
+            numZoomLevels: 24,
+            initLayer: function() {
+                log[layer2.id] = true;
+                var origMinZoom = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom;
+                // pretend the API reports a minZoom of 1
+                OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom = 1;
+                OpenLayers.Layer.GoogleNG.prototype.initLayer.apply(this, arguments);
+                OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom = origMinZoom;
+            }
+        });
+        map2.addLayer(layer2);
+        map2.zoomToMaxExtent();
+        
+        t.delay_call(1, function() {
+            t.eq(log[layer.id], true, "initLayer called for 1st layer");
+            t.eq(log[layer2.id], true, "initLayer called for 2nd layer");
+            
+            t.eq(layer.numZoomLevels, 10, "numZoomLevels from configuration takes precedence if lower");
+            t.eq(layer2.numZoomLevels, OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].maxZoom+1, "numZoomLevels from API takes precedence if lower");
+
+            t.eq(layer.restrictedMinZoom, 2, "restrictedMinZoom from configuration takes precedence if higher");
+            t.eq(layer2.restrictedMinZoom, 1, "restrictedMinZoom from API takes precedence if higher");
+
+            map.destroy();
+            map2.destroy();            
+        });
+    }
+    
+    function test_attribution(t) {
+        t.plan(4);
+        
+        var log = [];
+        map = new OpenLayers.Map("map");
+        layer = new OpenLayers.Layer.GoogleNG({
+            type: google.maps.MapTypeId.HYBRID,
+            updateAttribution: function(copyrights) {
+                log.push(copyrights);
+                OpenLayers.Layer.GoogleNG.prototype.updateAttribution.apply(this, arguments);
+            }
+        });
+        map.addLayer(layer);
+        map.setCenter(new OpenLayers.LonLat(16, 48).transform(new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject()), 5);
+        
+        t.delay_call(3, function() {
+            t.eq(log.length, 1, "updateAttribution was called once");
+            t.ok(log[0]["m"].length && log[0]["k"].length, "'m' and 'k' copyrights populated for hybrid layer");
+            t.ok(layer.attribution.indexOf('olGoogleAttribution hybrid') != -1, "Attribution has the correct css class");
+            t.ok(layer.attribution.indexOf('?ll=48,16&z=5&t=h"') != -1, "maps.google.com link has correct parameters");
+            map.destroy();
+        });
+    }
+
+    function test_clone(t) {
+        t.plan(2);
+        
+        var clone;
+        
+        layer = new OpenLayers.Layer.GoogleNG({type: google.maps.MapTypeId.HYBRID});
+        clone = layer.clone();
+        t.ok(clone instanceof OpenLayers.Layer.GoogleNG, "clone is a Layer.GoogleNG instance");
+        t.eq(clone.type, google.maps.MapTypeId.HYBRID, "with the correct map type");
+    }
+
+  </script>
+</head>
+<body>
+<div id="map" style="width:500px;height:550px"></div>
+<div id="map2" style="width:500px;height:550px"></div>
+</body>
+</html>

Modified: sandbox/bartvde/wps/openlayers/tests/Layer/WMS.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Layer/WMS.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/Layer/WMS.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -80,13 +80,11 @@
         var tParams = OpenLayers.Util.extend({},
                         OpenLayers.Util.upperCaseObject(params));
         tParams = OpenLayers.Util.extend(tParams, {
-            SERVICE: "WMS", VERSION: "1.1.1",
-            REQUEST: "GetMap", STYLES: "",
-            SRS: "EPSG:4326", BBOX: [1,2,3,4],
+            BBOX: [1,2,3,4],
             WIDTH: "256", HEIGHT: "256"
         });
         t.eq( img.src,
-             url + "?" + OpenLayers.Util.getParameterString(tParams),
+             layer.getFullRequestString(tParams),
              "image src is created correctly via addtile" );
         t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
         t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
@@ -97,7 +95,7 @@
         else
             t.ok( firstChild instanceof HTMLElement, "div first child is an image object" );
         t.eq( firstChild.src,
-             url + "?" + OpenLayers.Util.getParameterString(tParams),
+             layer.getFullRequestString(tParams),
              "div first child is correct image object" );
         t.eq( tile.position.toString(), "x=5,y=6", "Position of tile is set correctly." );
         map.destroy();
@@ -118,13 +116,11 @@
         var tParams = OpenLayers.Util.extend({},
                         OpenLayers.Util.upperCaseObject(params));
         tParams = OpenLayers.Util.extend(tParams, {
-            SERVICE: "WMS", VERSION: "1.1.1",
-            REQUEST: "GetMap", STYLES: "",
-            SRS: "EPSG:4326", BBOX: "1,2,3,4",
+            BBOX: "1,2,3,4",
             WIDTH: "256", HEIGHT: "256"
         });
         t.eq( img.src,
-             url + "?" + OpenLayers.Util.getParameterString(tParams),
+             layer.getFullRequestString(tParams),
              "image src is created correctly via addtile" );
         t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
         t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
@@ -135,7 +131,7 @@
         else
             t.ok( firstChild instanceof HTMLElement, "div first child is an image object" );
         t.eq( firstChild.src,
-             url + "?" + OpenLayers.Util.getParameterString(tParams),
+             layer.getFullRequestString(tParams),
              "div first child is correct image object" );
         t.eq( tile.position.toString(), "x=5,y=6", "Position of tile is set correctly." );
         map.destroy();
@@ -544,8 +540,30 @@
         map.destroy();
 
     }
+    
+    function test_transparent(t) {
+        t.plan(5);
+        var map = new OpenLayers.Map("map", {allOverlays: true});
+        var layer = new OpenLayers.Layer.WMS(
+            "OpenLayers WMS",
+            "http://myserver.org/wms?",
+            {layers: 'mylayer', transparent: true}
+        );
+        map.addLayer(layer);
 
+        t.eq(typeof layer.params.TRANSPARENT, "boolean", "transparent param is boolean");
+        t.ok(layer.getFullRequestString({}).indexOf("TRANSPARENT=TRUE") != -1, "Boolean transparent param value is uppercase TRUE");
+        layer.mergeNewParams({transparent: false});
+        t.ok(layer.getFullRequestString({}).indexOf("TRANSPARENT=FALSE") != -1, "Boolean transparent param value is uppercase FALSE");
 
+        layer.mergeNewParams({transparent: "true"});
+        t.eq(typeof layer.params.TRANSPARENT, "string", "transparent param is string");
+        t.ok(layer.getFullRequestString({}).indexOf("TRANSPARENT=true") != -1, "transparent param value passed as provided if String");
+        
+        map.destroy();
+    }
+
+
   </script>
 </head>
 <body>

Copied: sandbox/bartvde/wps/openlayers/tests/Tile/Google.html (from rev 12071, trunk/openlayers/tests/Tile/Google.html)
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/Tile/Google.html	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/tests/Tile/Google.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,74 @@
+<html>
+<head>
+  <script src="http://maps.google.com/maps/api/js?sensor=false&v=3.5"></script>
+  <script src="../OLLoader.js"></script>
+  <script type="text/javascript">
+    var tile; 
+    var layer = new OpenLayers.Layer.GoogleNG(); 
+    var position = new OpenLayers.Pixel(20,30);
+    var bounds = new OpenLayers.Bounds(1,2,3,4);
+
+    
+    function test_constructor (t) {
+        t.plan( 4 );
+        
+        tile = new OpenLayers.Tile.Google(layer, position, bounds);
+    
+        t.ok( tile instanceof OpenLayers.Tile.Google, "new OpenLayers.Tile.Google returns Tile object" );
+        t.ok( tile.layer == layer, "tile.layer is set correctly");
+        t.ok( tile.position.equals(position), "tile.position is set correctly");
+        t.ok( tile.bounds.equals(bounds), "tile.bounds is set correctly");
+    }
+
+    function test_clone (t) {
+        t.plan( 5 );
+        
+        tile = new OpenLayers.Tile.Google(layer, position, bounds);
+        tile.node = document.createElement("div");
+        var clone = tile.clone();
+    
+        t.ok( clone instanceof OpenLayers.Tile.Google, "OpenLayers.Tile.Google.clone returns Tile.Google object" );
+        t.ok( clone.layer == layer, "clone.layer is set correctly");
+        t.ok( clone.position.equals(position), "clone.position is set correctly");
+        t.ok( clone.bounds.equals(bounds), "clone.bounds is set correctly");
+        t.ok( !clone.node, "node not cloned");
+    }
+    
+    function test_draw (t) {
+        t.plan( 5 );
+
+        var map = new OpenLayers.Map('map');
+        map.addLayer(layer);  
+
+        tile = new OpenLayers.Tile.Google(layer, position, bounds);
+
+        tile.events.register("loadstart", this, function() { 
+            t.ok(true, "loadstart triggered");
+        });
+        tile.events.register("loadend", this, function() { 
+            t.ok(true, "loadend triggered");
+        });
+
+        t.delay_call(1, function() {
+            //this should trigger a "loadstart" event
+            tile.draw();
+
+            t.ok( tile.node, "tile.draw creates a node");
+            // The two tests below will fail when getTile doesn't set the tile size
+            t.eq( tile.node.style.width, layer.tileSize.w+"px", "Image width is correct" );
+            t.eq( tile.node.style.height, layer.tileSize.h+"px", "Image height is correct" );
+        });       
+        t.delay_call(2, function() {
+            map.removeLayer(layer);
+            map.destroy();
+            /* wait until "loadend" fires */
+        });        
+        
+    }
+        
+  </script>
+</head>
+<body>
+<div id="map" style="height:550px;width:500px"></div>
+</body>
+</html>
\ No newline at end of file

Modified: sandbox/bartvde/wps/openlayers/tests/list-tests.html
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/list-tests.html	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/list-tests.html	2011-06-08 13:05:12 UTC (rev 12072)
@@ -147,6 +147,7 @@
     <li>Layer/GML.html</li>
     <li>Layer/Google.html</li>
     <li>Layer/Google/v3.html</li>
+    <li>Layer/GoogleNG.html</li>
     <li>Layer/Grid.html</li>
     <li>Layer/HTTPRequest.html</li>
     <li>Layer/Image.html</li>
@@ -216,6 +217,7 @@
     <li>Symbolizer/Raster.html</li>
     <li>Symbolizer/Text.html</li>
     <li>Tile.html</li>
+    <li>Tile/Google.html</li>
     <li>Tile/Image.html</li>
     <li>Tile/Image/IFrame.html</li>
     <li>Tile/WFS.html</li>

Modified: sandbox/bartvde/wps/openlayers/tests/node.js/mockdom.js
===================================================================
--- sandbox/bartvde/wps/openlayers/tests/node.js/mockdom.js	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tests/node.js/mockdom.js	2011-06-08 13:05:12 UTC (rev 12072)
@@ -5,8 +5,6 @@
     }
 };
 
-alert = print;
-
 navigator = {
   'appName': 'mockdom',
   'userAgent': 'mockdom',

Modified: sandbox/bartvde/wps/openlayers/theme/default/style.css
===================================================================
--- sandbox/bartvde/wps/openlayers/theme/default/style.css	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/theme/default/style.css	2011-06-08 13:05:12 UTC (rev 12072)
@@ -355,6 +355,19 @@
     color: #333;
 }
 
+.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
+    color: #EEE;
+}
+.olGoogleAttribution {
+    color: #333;
+}
+span.olGoogleAttribution a {
+    color: #77C;
+}
+span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
+    color: #EEE;
+}
+
 /**
  * Editing and navigation icons.
  * (using the editing_tool_bar.png sprint image)

Copied: sandbox/bartvde/wps/openlayers/tools/branch.sh (from rev 12071, trunk/openlayers/tools/branch.sh)
===================================================================
--- sandbox/bartvde/wps/openlayers/tools/branch.sh	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/tools/branch.sh	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+RELEASE=$1
+
+svn copy -m "Branching for the $RELEASE release" http://svn.openlayers.org/trunk/openlayers http://svn.openlayers.org/branches/openlayers/$RELEASE

Copied: sandbox/bartvde/wps/openlayers/tools/rc.sh (from rev 12071, trunk/openlayers/tools/rc.sh)
===================================================================
--- sandbox/bartvde/wps/openlayers/tools/rc.sh	                        (rev 0)
+++ sandbox/bartvde/wps/openlayers/tools/rc.sh	2011-06-08 13:05:12 UTC (rev 12072)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+RELEASE=$1
+RC=$2
+
+svn co http://svn.openlayers.org/branches/openlayers/$RELEASE
+cd $RELEASE
+sed -i -e "s/OpenLayers.VERSION_NUMBER=.*/OpenLayers.VERSION_NUMBER=\"Release $1-$2\";/" lib/OpenLayers.js 
+sed -i -e "s/VERSION_NUMBER: .*,/VERSION_NUMBER: \"Release $1-$2\",/" lib/OpenLayers/SingleFile.js
+svn diff;
+sleep 10;
+svn ci -m "Updating version numbers for $1-$2".
+svn cp -m "Tagging the $1-$2 release." http://svn.openlayers.org/branches/openlayers/$1 http://svn.openlayers.org/tags/openlayers/release-$1-$2

Modified: sandbox/bartvde/wps/openlayers/tools/release.sh
===================================================================
--- sandbox/bartvde/wps/openlayers/tools/release.sh	2011-06-08 03:05:02 UTC (rev 12071)
+++ sandbox/bartvde/wps/openlayers/tools/release.sh	2011-06-08 13:05:12 UTC (rev 12072)
@@ -24,17 +24,17 @@
 mkdir doc/apidocs
 rm tools/*.pyc
 
-mkdir /www/openlayers/htdocs/api/$VERSION
-cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION
-cp -a img/ /www/openlayers/htdocs/api/$VERSION
-cp -a theme/ /www/openlayers/htdocs/api/$VERSION
+mkdir /osgeo/openlayers/docs/api/$VERSION
+cp OpenLayers.js /osgeo/openlayers/docs/api/$VERSION
+cp -a img/ /osgeo/openlayers/docs/api/$VERSION
+cp -a theme/ /osgeo/openlayers/docs/api/$VERSION
 
 cd ..
 
-~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL
-~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL
+naturaldocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL
+naturaldocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL
 
 tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/
 zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/
 
-cp OpenLayers-$VERSION.* /www/openlayers/htdocs/download 
+cp OpenLayers-$VERSION.* /osgeo/openlayers/docs/download 



More information about the Commits mailing list