# 00a743bf-cca4-4c19-a8e5-e64f7edbcadd_gemini2.xml expect_values0 = { 'guid': '00a743bf-cca4-4c19-a8e5-e64f7edbcadd', 'metadata-language': 'eng', 'resource-type': 'dataset', 'metadata-point-of-contact': [{'contact-info': {'email': 'gis@barrowbc.gov.uk'}, 'organisation-name': 'Barrow Borough Council', 'role': 'pointOfContact', 'position-name': ''}], 'metadata-date': '2009-10-16', 'spatial-reference-system': 'urn:ogc:def:crs:EPSG::27700', 'title': 'Council Owned Litter Bins', 'alternative-title': [], 'dataset-reference-date': [ { 'type': 'creation', 'value': '2008-10-10', },{ 'type': 'revision', 'value': '2009-10-08', }, ], 'date-released': '', 'date-updated': '2009-10-08', #'unique-resource-identifier': 'BBC:000006Barrow Borough Council', 'abstract': 'Location of Council owned litter bins within Borough.', 'responsible-organisation': [ { 'contact-info': { 'email': 'gis@barrowbc.gov.uk', }, 'organisation-name': 'Barrow Borough Council', 'role': 'pointOfContact', 'position-name': '' } ], 'publisher': '', 'contact': 'Barrow Borough Council', 'contact-email': 'gis@barrowbc.gov.uk', 'frequency-of-update': 'unknown', 'keyword-inspire-theme': ['Utility and governmental services'], 'keyword-controlled-other': ['Utility and governmental services'], 'keyword-free-text': [], 'tags': ['Utility and governmental services'], 'limitations-on-public-access': ['(e) intellectual property rights;'], 'use-constraints': ['conditions unknown'], 'spatial-data-service-type': '', 'spatial-resolution': '', 'equivalent-scale': ['1250'], 'dataset-language': ['eng'], 'topic-category': ['environment'], 'extent-controlled': [], 'extent-free-text': [], 'bbox-west-long': '-3.32485', 'bbox-east-long': '-3.12442', 'bbox-north-lat': '54.218407', 'bbox-south-lat': '54.039634', 'temporal-extent-begin': '1977-03-10T11:45:30', 'temporal-extent-end': '2005-01-15T09:10:00', 'vertical-extent': '', 'coupled-resource': [], 'additional-information-source': '', 'data-format': [ {'version': '', 'name': ''} ], 'resource-locator': [ { 'url': 'http://www.barrowbc.gov.uk', 'function': '', } ], 'url': '', 'conformity-specification': '', 'conformity-pass': '', 'conformity-explanation': '', 'lineage': 'Dataset created from ground surveys using Ordnance Survey Mastemap as base.', } # My series sample.xml expect_values1 = { 'guid': '603f921c-79df-4866-ac69-f4acc37e4851', 'metadata-language': 'eng', 'resource-type': 'series', 'metadata-point-of-contact': [{'contact-info': {'email': 'customerservices@ordnancesurvey.co.uk'}, 'organisation-name': 'Ordnance Survey', 'role': 'publisher', 'position-name': 'Customer services'}], 'metadata-date': '2010-08-19T17:05:15', 'spatial-reference-system': 'urn:ogc:def:crs:EPSG::4258', 'title': u'OS MasterMap\xae Imagery Layer', 'alternative-title': [], 'dataset-reference-date': [ { 'type': 'creation', 'value': '2004-09-15T16:13:00', }, ], 'date-released': '', 'date-updated': '', #'unique-resource-identifier': 'OSMM Imageryhttp://www.ordnancesurvey.co.uk', 'abstract': u'High resolution, national, fully Orthorectified colour imagery product. Complements other OS Mastermap\xae Layers. Regularly maintained and updated. Available to order over the internet.', 'responsible-organisation': [ { 'contact-info': { 'email': 'customerservices@ordnancesurvey.co.uk' }, 'organisation-name': 'Ordnance Survey', 'role': 'publisher', 'position-name': 'Customer services', } ], 'publisher': 'Ordnance Survey', 'contact': 'Ordnance Survey', 'contact-email': 'customerservices@ordnancesurvey.co.uk', 'frequency-of-update': 'asNeeded', 'keyword-inspire-theme': ['Land and premises', 'Orthoimagery'], 'keyword-controlled-other': ['Land and premises', 'Orthoimagery'], 'keyword-free-text': [], 'tags': ['Land and premises', 'Orthoimagery'], 'limitations-on-public-access': [], 'use-constraints': [], 'spatial-data-service-type': '', 'spatial-resolution': '25', 'equivalent-scale': [], 'dataset-language': [], 'topic-category': ['imageryBaseMapsEarthCover'], 'extent-controlled': [], 'extent-free-text': [], 'bbox-west-long': '-8.45472', 'bbox-east-long': '1.78024', 'bbox-north-lat': '60.8599', 'bbox-south-lat': '49.8634', 'temporal-extent-begin': '', 'temporal-extent-end': '', 'vertical-extent': '', 'coupled-resource': [], 'additional-information-source': '', 'data-format': [ {'version': 'not applicable', 'name': 'JPEG'} ], 'resource-locator': [ { 'url': 'http://www.ordnancesurvey.co.uk/oswebsite/products/osmastermap/layers/imagery/', 'function': 'information', } ], 'url': 'http://www.ordnancesurvey.co.uk/oswebsite/products/osmastermap/layers/imagery/', 'conformity-specification': 'OS MasterMap Imagery Specification2010-08-19http://www.ordnancesurvey.co.uk/oswebsite/products/osmastermap/layers/imagery/technical.html', 'conformity-pass': 'true', 'conformity-explanation': 'conforms', 'lineage': 'Aerial imagery processed by Ordnance Survey', }