Changeset 3094 for TI05-delivery


Ignore:
Timestamp:
03/12/07 14:56:45 (12 years ago)
Author:
lawrence
Message:

Two wee bug fixes (over exuberant escaping and trying
to do geospatial search on browse content)

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ETxmlView.py

    r3092 r3094  
    2121        self.r1=re.compile('<([^>]*(<|$))') 
    2222        self.r2=re.compile('((^|>)[^<]*)>') 
    23         self.r3=re.compile('&(?!amp;)') 
     23        self.r3=re.compile('&(?!(amp|lt|gt);)') 
    2424    def sub(self,s): 
    2525        old='' 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/eXistInterface.py

    r2976 r3094  
    194194        return r 
    195195         
    196     def search(self,term,start=1,howmany=20,target=None,scope=None,bbox=None,dateRange=None): 
     196    def search(self,term,start=1,howmany=20,target=None,scope=None,bbox=None,dateRange=None,geoSearchType=None): 
    197197        ''' Provides a search interface that mimics the WSDL search interface, except that 
    198198        the target used is the exist collection name, and scope, bbox and dateRange are ignored, 
Note: See TracChangeset for help on using the changeset viewer.