Skip to content
Snippets Groups Projects
Commit 82c53f87 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-717: put the sip xsd in share

parent 28d1178c
Branches
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ logger = logging.getLogger(__name__) ...@@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
d = os.path.dirname(os.path.realpath(__file__)) d = os.path.dirname(os.path.realpath(__file__))
XSDPATH = d+"/LTA-SIP.xsd" XSDPATH = d+"/LTA-SIP.xsd"
DEFAULT_SIP_XSD_PATH = os.path.join(os.environ.get('LOFARROOT', '/opt/lofar'), 'etc', 'lta', 'LTA-SIP.xsd') DEFAULT_SIP_XSD_PATH = os.path.join(os.environ.get('LOFARROOT', '/opt/lofar'), 'share', 'lta', 'LTA-SIP.xsd')
def validate(xmlpath, xsdpath=DEFAULT_SIP_XSD_PATH): def validate(xmlpath, xsdpath=DEFAULT_SIP_XSD_PATH):
'''validates given xml file against given xsd file''' '''validates given xml file against given xsd file'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment