From ee8e235d699c2e58a6747afd941ae418e6a1af12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Diaz=20de=20Cerio?= <36446028+inakidiazdecerio@users.noreply.github.com> Date: Thu, 29 Nov 2018 12:33:33 +0100 Subject: [PATCH] Revert "Modifications in the ETS to solve the issue #182" --- data-ad/ad-gml/ets-ad-gml-bsxets.xml | 2 +- data-au/au-gml/ets-au-gml-bsxets.xml | 2 +- data-cp/cp-gml/ets-cp-gml-bsxets.xml | 2 +- data-gn/gn-gml/ets-gn-gml-bsxets.xml | 2 +- data-hy/hy-gml/ets-hy-gml-bsxets.xml | 2 +- data-ps/ps-gml/ets-ps-gml-bsxets.xml | 2 +- data-tn/tn-gml/ets-tn-gml-bsxets.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data-ad/ad-gml/ets-ad-gml-bsxets.xml b/data-ad/ad-gml/ets-ad-gml-bsxets.xml index 3f5d57aa5..85ad54557 100644 --- a/data-ad/ad-gml/ets-ad-gml-bsxets.xml +++ b/data-ad/ad-gml/ets-ad-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:Address | descendant-or-self::*:AddressAreaName | descendant-or-self::*:AddressComponent | descendant-or-self::*:AdminUnitName | descendant-or-self::*:PostalDescriptor | descendant-or-self::*:ThoroughfareName] +let $featuresFromAppSchema := $features[self::*:Address | self::*:AddressAreaName | self::*:AddressComponent | self::*:AdminUnitName | self::*:PostalDescriptor | self::*:ThoroughfareName] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Addresses' }) else ()) diff --git a/data-au/au-gml/ets-au-gml-bsxets.xml b/data-au/au-gml/ets-au-gml-bsxets.xml index 6a44d6143..d08f06eab 100644 --- a/data-au/au-gml/ets-au-gml-bsxets.xml +++ b/data-au/au-gml/ets-au-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:AdministrativeBoundary | descendant-or-self::*:AdministrativeUnit | descendant-or-self::*:Condominium | descendant-or-self::*:Baseline | descendant-or-self::*:MaritimeBoundary | descendant-or-self::*:MaritimeZone] +let $featuresFromAppSchema := $features[self::*:AdministrativeBoundary | self::*:AdministrativeUnit | self::*:Condominium | self::*:Baseline | self::*:MaritimeBoundary | self::*:MaritimeZone] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Administrative Units' }) else ()) diff --git a/data-cp/cp-gml/ets-cp-gml-bsxets.xml b/data-cp/cp-gml/ets-cp-gml-bsxets.xml index a2ed5c18f..c6be24864 100644 --- a/data-cp/cp-gml/ets-cp-gml-bsxets.xml +++ b/data-cp/cp-gml/ets-cp-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:CadastralParcel] +let $featuresFromAppSchema := $features[self::*:CadastralParcel] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noCadastralParcel', map { 'theme': 'Cadastral Parcels' }) else ()) diff --git a/data-gn/gn-gml/ets-gn-gml-bsxets.xml b/data-gn/gn-gml/ets-gn-gml-bsxets.xml index b19663be4..a6356ad6a 100644 --- a/data-gn/gn-gml/ets-gn-gml-bsxets.xml +++ b/data-gn/gn-gml/ets-gn-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:NamedPlace] +let $featuresFromAppSchema := $features[self::*:NamedPlace] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Geographical Names' }) else ()) diff --git a/data-hy/hy-gml/ets-hy-gml-bsxets.xml b/data-hy/hy-gml/ets-hy-gml-bsxets.xml index 1d678e973..e9d90cd26 100644 --- a/data-hy/hy-gml/ets-hy-gml-bsxets.xml +++ b/data-hy/hy-gml/ets-hy-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:HydroNode | descendant-or-self::*:WatercourseLink | descendant-or-self::*:WatercourseLinkSequence | descendant-or-self::*:WatercourseSeparatedCrossing | descendant-or-self::*:Watercourse | descendant-or-self::*:StandingWater | descendant-or-self::*:Wetland | descendant-or-self::*:GlacierSnowfield | descendant-or-self::*:Shore | descendant-or-self::*:DrainageBasin | descendant-or-self::*:RiverBasin | descendant-or-self::*:LandWaterBoundary | descendant-or-self::*:Embankment | descendant-or-self::*:Ford | descendant-or-self::*:Lock | descendant-or-self::*:Sluice | descendant-or-self::*:DamOrWeir | descendant-or-self::*:ShorelineConstruction | descendant-or-self::*:Crossing | descendant-or-self::*:SpringOrSeep | descendant-or-self::*:VanishingPoint | descendant-or-self::*:Rapids | descendant-or-self::*:Falls] +let $featuresFromAppSchema := $features[self::*:HydroNode | self::*:WatercourseLink | self::*:WatercourseLinkSequence | self::*:WatercourseSeparatedCrossing | self::*:Watercourse | self::*:StandingWater | self::*:Wetland | self::*:GlacierSnowfield | self::*:Shore | self::*:DrainageBasin | self::*:RiverBasin | self::*:LandWaterBoundary | self::*:Embankment | self::*:Ford | self::*:Lock | self::*:Sluice | self::*:DamOrWeir | self::*:ShorelineConstruction | self::*:Crossing | self::*:SpringOrSeep | self::*:VanishingPoint | self::*:Rapids | self::*:Falls] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Hydrography' }) else ()) diff --git a/data-ps/ps-gml/ets-ps-gml-bsxets.xml b/data-ps/ps-gml/ets-ps-gml-bsxets.xml index 945a73494..0170ded04 100644 --- a/data-ps/ps-gml/ets-ps-gml-bsxets.xml +++ b/data-ps/ps-gml/ets-ps-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:ProtectedSite] +let $featuresFromAppSchema := $features[self::*:ProtectedSite] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Protected Sites' }) else ()) diff --git a/data-tn/tn-gml/ets-tn-gml-bsxets.xml b/data-tn/tn-gml/ets-tn-gml-bsxets.xml index eb5a37697..983717843 100644 --- a/data-tn/tn-gml/ets-tn-gml-bsxets.xml +++ b/data-tn/tn-gml/ets-tn-gml-bsxets.xml @@ -66,7 +66,7 @@ Source: NOT_APPLICABLE -let $featuresFromAppSchema := $features[descendant-or-self::*:AccessRestriction | descendant-or-self::*:ConditionOfFacility | descendant-or-self::*:MaintenanceAuthority | descendant-or-self::*:MarkerPost | descendant-or-self::*:OwnerAuthority | descendant-or-self::*:RestrictionForVehicles | descendant-or-self::*:TrafficFlowDirection | descendant-or-self::*:TransportNetwork | descendant-or-self::*:VerticalPosition | descendant-or-self::*:ERoad | descendant-or-self::*:FormOfWay | descendant-or-self::*:FunctionalRoadClass | descendant-or-self::*:NumberOfLanes | descendant-or-self::*:Road | descendant-or-self::*:RoadArea | descendant-or-self::*:RoadLink | descendant-or-self::*:RoadLinkSequence | descendant-or-self::*:RoadName | descendant-or-self::*:RoadNode | descendant-or-self::*:RoadServiceArea | descendant-or-self::*:RoadServiceType | descendant-or-self::*:RoadServiceCategory | descendant-or-self::*:RoadWidth | descendant-or-self::*:SpeedLimit | descendant-or-self::*:VehicleTrafficArea | descendant-or-self::*:DesignSpeed | descendant-or-self::*:NominalTrackGauge | descendant-or-self::*:NumberOfTracks | descendant-or-self::*:RailwayArea | descendant-or-self::*:RailwayElectrification | descendant-or-self::*:RailwayLine | descendant-or-self::*:RailwayLink | descendant-or-self::*:RailwayLinkSequence | descendant-or-self::*:RailwayNode | descendant-or-self::*:RailwayStationArea | descendant-or-self::*:RailwayStationCode | descendant-or-self::*:RailwayStationNode | descendant-or-self::*:RailwayType | descendant-or-self::*:RailwayUse | descendant-or-self::*:RailwayYardArea | descendant-or-self::*:RailwayYardNode | descendant-or-self::*:CablewayLink | descendant-or-self::*:CablewayLinkSequence | descendant-or-self::*:CablewayLinkSet | descendant-or-self::*:CablewayNode | descendant-or-self::*:Beacon | descendant-or-self::*:Buoy | descendant-or-self::*:CEMTClass | descendant-or-self::*:ConditionOfWaterFacility | descendant-or-self::*:FairwayArea | descendant-or-self::*:FerryCrossing | descendant-or-self::*:FerryUse | descendant-or-self::*:InlandWaterway | descendant-or-self::*:MarineWaterway | descendant-or-self::*:PortArea | descendant-or-self::*:PortNode | descendant-or-self::*:RestrictionForWaterVehicles | descendant-or-self::*:TrafficSeparationSchemeCrossing | descendant-or-self::*:TrafficSeparationSchemeLane | descendant-or-self::*:TrafficSeparationSchemeRoundabout | descendant-or-self::*:TrafficSeparationSchemeSeparator | descendant-or-self::*:WaterLinkSequence | descendant-or-self::*:WaterTrafficFlowDirection | descendant-or-self::*:WaterwayLink | descendant-or-self::*:WaterwayNode | descendant-or-self::*:Type | descendant-or-self::*:AerodromeArea | descendant-or-self::*:AerodromeCategory | descendant-or-self::*:AerodromeNode | descendant-or-self::*:AerodromeType | descendant-or-self::*:AirLinkSequence | descendant-or-self::*:AirRoute | descendant-or-self::*:AirRouteLink | descendant-or-self::*:AirspaceArea | descendant-or-self::*:ApronArea | descendant-or-self::*:ConditionOfAirFacility | descendant-or-self::*:DesignatedPoint | descendant-or-self::*:ElementLength | descendant-or-self::*:ElementWidth | descendant-or-self::*:FieldElevation | descendant-or-self::*:InstrumentApproachProcedure | descendant-or-self::*:LowerAltitudeLimit | descendant-or-self::*:Navaid | descendant-or-self::*:ProcedureLink | descendant-or-self::*:RunwayArea | descendant-or-self::*:RunwayCentrelinePoint | descendant-or-self::*:StandardInstrumentArrival | descendant-or-self::*:StandardInstrumentDeparture | descendant-or-self::*:SurfaceComposition | descendant-or-self::*:TaxiwayArea | descendant-or-self::*:TouchDownLiftOff | descendant-or-self::*:UpperAltitudeLimit | descendant-or-self::*:UseRestriction] +let $featuresFromAppSchema := $features[self::*:AccessRestriction | self::*:ConditionOfFacility | self::*:MaintenanceAuthority | self::*:MarkerPost | self::*:OwnerAuthority | self::*:RestrictionForVehicles | self::*:TrafficFlowDirection | self::*:TransportNetwork | self::*:VerticalPosition | self::*:ERoad | self::*:FormOfWay | self::*:FunctionalRoadClass | self::*:NumberOfLanes | self::*:Road | self::*:RoadArea | self::*:RoadLink | self::*:RoadLinkSequence | self::*:RoadName | self::*:RoadNode | self::*:RoadServiceArea | self::*:RoadServiceType | self::*:RoadServiceCategory | self::*:RoadWidth | self::*:SpeedLimit | self::*:VehicleTrafficArea | self::*:DesignSpeed | self::*:NominalTrackGauge | self::*:NumberOfTracks | self::*:RailwayArea | self::*:RailwayElectrification | self::*:RailwayLine | self::*:RailwayLink | self::*:RailwayLinkSequence | self::*:RailwayNode | self::*:RailwayStationArea | self::*:RailwayStationCode | self::*:RailwayStationNode | self::*:RailwayType | self::*:RailwayUse | self::*:RailwayYardArea | self::*:RailwayYardNode | self::*:CablewayLink | self::*:CablewayLinkSequence | self::*:CablewayLinkSet | self::*:CablewayNode | self::*:Beacon | self::*:Buoy | self::*:CEMTClass | self::*:ConditionOfWaterFacility | self::*:FairwayArea | self::*:FerryCrossing | self::*:FerryUse | self::*:InlandWaterway | self::*:MarineWaterway | self::*:PortArea | self::*:PortNode | self::*:RestrictionForWaterVehicles | self::*:TrafficSeparationSchemeCrossing | self::*:TrafficSeparationSchemeLane | self::*:TrafficSeparationSchemeRoundabout | self::*:TrafficSeparationSchemeSeparator | self::*:WaterLinkSequence | self::*:WaterTrafficFlowDirection | self::*:WaterwayLink | self::*:WaterwayNode | self::*:Type | self::*:AerodromeArea | self::*:AerodromeCategory | self::*:AerodromeNode | self::*:AerodromeType | self::*:AirLinkSequence | self::*:AirRoute | self::*:AirRouteLink | self::*:AirspaceArea | self::*:ApronArea | self::*:ConditionOfAirFacility | self::*:DesignatedPoint | self::*:ElementLength | self::*:ElementWidth | self::*:FieldElevation | self::*:InstrumentApproachProcedure | self::*:LowerAltitudeLimit | self::*:Navaid | self::*:ProcedureLink | self::*:RunwayArea | self::*:RunwayCentrelinePoint | self::*:StandardInstrumentArrival | self::*:StandardInstrumentDeparture | self::*:SurfaceComposition | self::*:TaxiwayArea | self::*:TouchDownLiftOff | self::*:UpperAltitudeLimit | self::*:UseRestriction] return (if ($featuresFromAppSchema) then 'PASSED' else 'FAILED', if (not($featuresFromAppSchema)) then local:addMessage('TR.noFeature', map { 'theme': 'Transport Networks' }) else ())