[TinyOWS-dev] [tinyows] #22: Cannot enable/disable the request XML validation

tinyows trac at camptocamp.com
Wed Feb 18 11:15:52 EST 2009


#22: Cannot enable/disable the request XML validation
------------------------------------------------------+---------------------
     Reporter:  nsavard                               |           Owner:  nsavard at mapgears.com
         Type:  defect                                |          Status:  new                 
     Priority:  major                                 |         Version:  SVN                 
     Keywords:  xml validate validate client request  |           Stage:  Unreviewed          
     Approval:  Unnecessary                           |           Patch:  None                
   Complexity:  Unknown                               |   Compatibility:  Unknown             
Specification:  Unnecessary                           |  
------------------------------------------------------+---------------------
 The query request is validated against the corresponding schema within
 ows_request_check() function.  The problem is that some client software
 doesn't validate, like OpenLayers, and it's no more possible to use
 Tinyows.  Sometime we need to make Tinyows to answer to the incoming
 request even though its structure is not correctly built (e.g. testing).

 I propose to add a new 'server' tag in the config.xml file and a
 'xmlvalidate' parameter within this delimited tags section to allow a user
 to enable/disable the client request validation.  A new Ows structure
 member 'xml_validate' of boolean type will be added.  A test will be added
 in ows_request_check() function to verify its value before calling
 ows_schema_validation() function.

 Comments are welcome.

-- 
Ticket URL: <https://www.tinyows.org/trac/tinyows/ticket/22>
tinyows <https://www.tinyows.org/trac/tinyows>
TinyOWS


More information about the TinyOWS-dev mailing list