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

OpenLayers trac at openlayers.org
Wed Jan 9 06:40:50 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:                 |  
----------------------------+-----------------------------------------------
Comment (by bartvde):

 And FormatList should be before StyleList.

 There are still more errors in the sequence:

 {{{
 Error at (file stdin, line 1, char 8225): Element 'MinScaleDenominator' is
 not v
 alid for content model:
 '((Server,Name,Title,Abstract,DataURL,MetadataURL,MinSca
 leDenominator,MaxScaleDenominator,SRS,FormatList,StyleList,DimensionList),Extens
 ion)'
 }}}

 Also, it would make validation easier if we link the outputted XML to the
 respective schema, e.g. for 1.1:

 {{{
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.opengis.net/context
 http://schemas.opengis.net/context/1.1.0/context.xsd"
 }}}

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


More information about the Trac mailing list