[OpenLayers-Trac] [OpenLayers] #100: create a WMC parser

OpenLayers trac at openlayers.org
Thu Jan 24 15:47:39 EST 2008


#100: create a WMC parser
----------------------------+-----------------------------------------------
  Reporter:  hobu at hobu.net  |       Owner:  tschaub    
      Type:  feature        |      Status:  new        
  Priority:  minor          |   Milestone:  2.6 Release
 Component:  Map            |     Version:             
Resolution:                 |    Keywords:             
     State:  Review         |  
----------------------------+-----------------------------------------------
Changes (by tschaub):

  * state:  => Review

Comment:

 Ok, the updated patch addresses the above comments and adds Extension tags
 for displayInLayerSwitcher, transparent, and opacity.

 This patch requires the patch for #1300 in order for tests to pass.  Tests
 pass in IE6 and FF.  Opera has it's own way of formatting namespace
 prefixes, so write tests do not pass there.  Safari is worse.  However,
 the output from FF, IE, and Opera all validate on
 http://www.validome.org/xml/validate/ - with the exception of the OL
 Extension elements for which we have no schema - looks to me like the wmc
 schema means to let Extension elements pass without schema (there is a bit
 about "any" namespace).

 I've exhausted myself as far as tests go.  If Safari support is a
 priority, someone will have to assist with troubleshooting the XML parsing
 there.

 Thought the format will likely get the least use of all, in my mind this
 is the most solid parser we've got.  I'd be happy to see it in the trunk
 (with conditions excluding Safari and Opera from the tests if that is
 important).

 Thanks for any review or feedback.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/100#comment:25>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list