but was: eu.europa.ec.inspire.schemas.common._1.ResourceLocatorType@310fed1b at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.Assert.assertNull(Assert.java:277) at junit.framework.Assert.assertNull(Assert.java:268) at junit.framework.TestCase.assertNull(TestCase.java:438) at eu.europa.ec.inspire.model.INSPIREResourceRepresentation6Test.testFromXmlString_bug1509_es_datasetmissingthesaurus(INSPIREResourceRepresentation6Test.java:175) ]]> testFromXmlString_bug1509_es_datasetmissingthesaurus <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:Resource xmlns:ns2="http://inspire.ec.europa.eu/schemas/rdsi/1.0" xmlns="http://inspire.ec.europa.eu/schemas/common/1.0" xmlns:ns4="http://inspire.ec.europa.eu/schemas/inspire_dls/1.0" xmlns:ns3="http://inspire.ec.europa.eu/schemas/geoportal/1.0" xmlns:ns9="http://www.opengis.net/wms" xmlns:ns12="http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0" xmlns:ns5="http://www.opengis.net/ows" xmlns:ns6="http://www.w3.org/1999/xlink" xmlns:ns10="http://www.opengis.net/ogc" xmlns:ns7="http://inspire.ec.europa.eu/schemas/inspire_ds/1.0" xmlns:ns11="http://inspire.ec.europa.eu/schemas/inspire_vs/1.0" xmlns:ns8="http://www.opengis.net/ows/1.1"> <ns3:SpatialDataSetResource/> <ns3:AuditRecord> <ns3:CreationDate>2013-08-21T11:21:15.135</ns3:CreationDate> </ns3:AuditRecord> <ns3:SourceMetadataLocator> <URL>../../downloaded2.xml</URL> <MediaType>application/vnd.iso.19139+xml</MediaType> </ns3:SourceMetadataLocator> <ns3:GeoportalMetadataLocator> <URL>/INSPIRE-066fe61d-0a43-11e3-83aa-001999e13b4e_20130821-112113/datasets/1</URL> <MediaType>application/vnd.eu.europa.ec.inspire.geoportal.resource.dataset+xml</MediaType> <LinkDescription>null</LinkDescription> <FileName>inspire.geoportal.resource.dataset.xml</FileName> </ns3:GeoportalMetadataLocator> <ns3:SourceValidationErrorsLocator> <URL>/INSPIRE-066fe61d-0a43-11e3-83aa-001999e13b4e_20130821-112113/datasets/1/sourceValidationErrors/inspire.geoportal.resource.dataset.iso.err.xml</URL> <MediaType>application/vnd.eu.europa.ec.inspire.resource+xml</MediaType> </ns3:SourceValidationErrorsLocator> <ns3:TransformationErrorsLocator> <URL>/INSPIRE-066fe61d-0a43-11e3-83aa-001999e13b4e_20130821-112113/datasets/1/transformationErrors/inspire.geoportal.resource.dataset.iso2inspire.err.xml</URL> <MediaType>application/vnd.eu.europa.ec.inspire.resource+xml</MediaType> </ns3:TransformationErrorsLocator> <ns3:ResourceReportLocator> <URL>resourceReport</URL> <MediaType>application/vnd.eu.europa.ec.inspire.resource+xml</MediaType> </ns3:ResourceReportLocator> <ns3:GeoportalErrorCode>error.geoportal.proxy.iso2inspire.failed</ns3:GeoportalErrorCode> <ns3:GeoportalErrorCode>error.geoportal.proxy.error.sourcevalidation</ns3:GeoportalErrorCode> </ns3:Resource> SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/quaglan/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/quaglan/.m2/repository/org/slf4j/slf4j-jdk14/1.6.1/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Warning: at xsl:for-each on line 147 Required item type of value of variable $var15_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 165 Required item type of value of variable $var20_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 354 Required item type of value of variable $var67_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 364 Required item type of value of variable $var70_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 421 Required item type of value of variable $var77_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 439 Required item type of value of variable $var82_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 499 Required item type of value of variable $var92_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 509 Required item type of value of variable $var95_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 655 Required item type of value of variable $var116_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 673 Required item type of value of variable $var121_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 693 Required item type of value of variable $var125_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 703 Required item type of value of variable $var128_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 757 Required item type of value of variable $var136_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 775 Required item type of value of variable $var141_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 834 Required item type of value of variable $var151_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 844 Required item type of value of variable $var154_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 905 Required item type of value of variable $var162_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 923 Required item type of value of variable $var167_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1007 Required item type of value of variable $var180_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1025 Required item type of value of variable $var185_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1175 Required item type of value of variable $var219_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1193 Required item type of value of variable $var224_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1212 Required item type of value of variable $var228_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1222 Required item type of value of variable $var231_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1255 Required item type of value of variable $var237_result is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. Warning: at xsl:for-each on line 1274 Required item type of value of variable $var240_val is xs:string; supplied value has item type xs:anyURI. The expression can succeed only if the supplied value is an empty sequence. No more warnings will be displayed Error on line 4820 XTTE0570: A sequence of more than one item is not allowed as the value of variable $var70_result ("Regadíos horizonte 2008", "Descripción Servicio Regadíos...") at xsl:for-each (#4789) processing /gmd:MD_Metadata/gmd:distributionInfo[1]/gmd:MD_Distribution[1]/gmd:transferOptions[1]/gmd:MD_DigitalTransferOptions[1]/gmd:onLine[1]