Ignore:
Timestamp:
08/15/13 14:10:11 (11 years ago)
Author:
sanmai
Message:
  • Clean up XML namespace handling.
  • Fix check_lat_handle.py to use XML validation on the data, as it is IMDI not HTML.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • monitoring/plugins/mpi/check_lat_cql_endpoint.py

    r3270 r3385  
    77special_plugin_description = "CQL endpoint"
    88special_plugin_file_name = os.path.basename(__file__)
    9 CQL_NAMESPACE = "http://www.loc.gov/zing/srw/"
     9CQL_namespace = "http://www.loc.gov/zing/srw/"
    1010command_line_parameters = [("-h", "host",),
    1111                           ("-u", "URL",)]
     
    1818    UP_URLs = (URL,) # X- allow for multiple URLs?
    1919
    20     valid_root_element_tag = "{%s}explainResponse" % (CQL_NAMESPACE)
     20    valid_root_element_tag = "{%s}explainResponse" % (CQL_namespace)
    2121   
    2222    # Check status for all UP_URLs.
Note: See TracChangeset for help on using the changeset viewer.