When validating the examples (and schema) with the xmllint command found in this repo's travis file, xmllint's exit code is not zero.
xmllint --version
xmllint: using libxml version 20904
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib Lzma
xmllint --noout --schema xsd/NeTEx_publication.xsd examples/functions/calendar/*xml examples/functions/fares/*xml examples/functions/grouping/*xml examples/functions/patterns/*xml examples/functions/pointOfInterest/*xml examples/functions/simpleNetwork/*xml examples/functions/site/*xml examples/functions/stopPlace/*xml examples/functions/timetable/*xml examples/functions/validityCondition/*xml examples/functions/variant/*xml examples/functions/vehicleSchedule/*xml examples/functions/versioning/*xml
examples/functions/calendar/Netex_calendarCodeing_02.xml validates
examples/functions/calendar/Netex_calendarExample_01_BHN01.xml validates
examples/functions/calendar/NeTEx_Calendar_se_PA1.xml validates
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:107: element FrameTopicFilter: Schemas validity error : Element '{http://www.netex.org.uk/netex}FrameTopicFilter': This element is not expected. Expected is ( {http://www.netex.org.uk/netex}NetworkFrameTopic ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:1452: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}fareSections, {http://www.netex.org.uk/netex}seriesConstraints, {http://www.netex.org.uk/netex}geographicalUnits, {http://www.netex.org.uk/netex}geographicalIntervals, {http://www.netex.org.uk/netex}geographicalStructureFactors, {http://www.netex.org.uk/netex}timeUnits, {http://www.netex.org.uk/netex}timeIntervals, {http://www.netex.org.uk/netex}timeStructureFactors, {http://www.netex.org.uk/netex}qualityStructureFactors, {http://www.netex.org.uk/netex}distanceMatrixElements ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:8715: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}seriesConstraints, {http://www.netex.org.uk/netex}geographicalUnits, {http://www.netex.org.uk/netex}geographicalIntervals, {http://www.netex.org.uk/netex}geographicalStructureFactors, {http://www.netex.org.uk/netex}timeUnits, {http://www.netex.org.uk/netex}timeIntervals, {http://www.netex.org.uk/netex}timeStructureFactors, {http://www.netex.org.uk/netex}qualityStructureFactors, {http://www.netex.org.uk/netex}distanceMatrixElements, {http://www.netex.org.uk/netex}groupsOfDistanceMatrixElements ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:10473: element groupsOfAccessRightParameterAssignments: Schemas validity error : Element '{http://www.netex.org.uk/netex}groupsOfAccessRightParameterAssignments': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}Description, {http://www.netex.org.uk/netex}alternativeNames, {http://www.netex.org.uk/netex}noticeAssignments, {http://www.netex.org.uk/netex}PricingServiceRef, {http://www.netex.org.uk/netex}PricingRuleRef, {http://www.netex.org.uk/netex}DiscountingRuleRef, {http://www.netex.org.uk/netex}LimitingRuleRef, {http://www.netex.org.uk/netex}priceGroups, {http://www.netex.org.uk/netex}fareTables, {http://www.netex.org.uk/netex}PrivateCode ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:10486: element tariffs: Schemas validity error : Element '{http://www.netex.org.uk/netex}tariffs': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}priceGroups, {http://www.netex.org.uk/netex}fareTables, {http://www.netex.org.uk/netex}distributionChannels, {http://www.netex.org.uk/netex}groupsOfDistributionChannels, {http://www.netex.org.uk/netex}fulfilmentMethods, {http://www.netex.org.uk/netex}typesOfTravelDocuments, {http://www.netex.org.uk/netex}travelDocuments, {http://www.netex.org.uk/netex}salesPackages, {http://www.netex.org.uk/netex}salesPackageElements, {http://www.netex.org.uk/netex}salesPackageSubstitutions ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:10719: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}Mode, {http://www.netex.org.uk/netex}TransportOrganisationRef, {http://www.netex.org.uk/netex}OperatorRef, {http://www.netex.org.uk/netex}AuthorityRef, {http://www.netex.org.uk/netex}PricingParameterSet, {http://www.netex.org.uk/netex}notices, {http://www.netex.org.uk/netex}noticeAssignments, {http://www.netex.org.uk/netex}borderPoints, {http://www.netex.org.uk/netex}fareScheduledStopPoints, {http://www.netex.org.uk/netex}fareZones ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:11543: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}Description, {http://www.netex.org.uk/netex}TypeOfFrameRef, {http://www.netex.org.uk/netex}BaselineVersionFrameRef, {http://www.netex.org.uk/netex}codespaces, {http://www.netex.org.uk/netex}FrameDefaults, {http://www.netex.org.uk/netex}versions, {http://www.netex.org.uk/netex}traces, {http://www.netex.org.uk/netex}contentValidityConditions, {http://www.netex.org.uk/netex}Mode, {http://www.netex.org.uk/netex}TransportOrganisationRef ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:11808: element TimeUnit: Schemas validity error : Element '{http://www.netex.org.uk/netex}TimeUnit': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}TypeOfValue, {http://www.netex.org.uk/netex}TypeOfEntity, {http://www.netex.org.uk/netex}DataSource, {http://www.netex.org.uk/netex}Branding, {http://www.netex.org.uk/netex}TypeOfResponsibilityRole, {http://www.netex.org.uk/netex}PurposeOfGrouping, {http://www.netex.org.uk/netex}TypeOfFrame, {http://www.netex.org.uk/netex}TypeOfValidity, {http://www.netex.org.uk/netex}TypeOfProjection, {http://www.netex.org.uk/netex}TypeOfPoint ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml:11840: element GeographicalUnit: Schemas validity error : Element '{http://www.netex.org.uk/netex}GeographicalUnit': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}TypeOfValue, {http://www.netex.org.uk/netex}TypeOfEntity, {http://www.netex.org.uk/netex}DataSource, {http://www.netex.org.uk/netex}Branding, {http://www.netex.org.uk/netex}TypeOfResponsibilityRole, {http://www.netex.org.uk/netex}PurposeOfGrouping, {http://www.netex.org.uk/netex}TypeOfFrame, {http://www.netex.org.uk/netex}TypeOfValidity, {http://www.netex.org.uk/netex}TypeOfProjection, {http://www.netex.org.uk/netex}TypeOfPoint ).
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProductb.xml fails to validate
examples/functions/fares/Netex_101.21_TfL_GeographicFares_UnitZone_MultipleProduct.xml validates
examples/functions/fares/Netex_104.MunichL_GeographicFarest1.xml:41: element FrameTopicFilter: Schemas validity error : Element '{http://www.netex.org.uk/netex}FrameTopicFilter': This element is not expected. Expected is ( {http://www.netex.org.uk/netex}NetworkFrameTopic ).
examples/functions/fares/Netex_104.MunichL_GeographicFarest1.xml:493: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}fareSections, {http://www.netex.org.uk/netex}seriesConstraints, {http://www.netex.org.uk/netex}geographicalUnits, {http://www.netex.org.uk/netex}geographicalIntervals, {http://www.netex.org.uk/netex}geographicalStructureFactors, {http://www.netex.org.uk/netex}timeUnits, {http://www.netex.org.uk/netex}timeIntervals, {http://www.netex.org.uk/netex}timeStructureFactors, {http://www.netex.org.uk/netex}qualityStructureFactors, {http://www.netex.org.uk/netex}distanceMatrixElements ).
examples/functions/fares/Netex_104.MunichL_GeographicFarest1.xml:5485: element TimeUnit: Schemas validity error : Element '{http://www.netex.org.uk/netex}TimeUnit': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}TypeOfValue, {http://www.netex.org.uk/netex}TypeOfEntity, {http://www.netex.org.uk/netex}DataSource, {http://www.netex.org.uk/netex}Branding, {http://www.netex.org.uk/netex}TypeOfResponsibilityRole, {http://www.netex.org.uk/netex}PurposeOfGrouping, {http://www.netex.org.uk/netex}TypeOfFrame, {http://www.netex.org.uk/netex}TypeOfValidity, {http://www.netex.org.uk/netex}TypeOfProjection, {http://www.netex.org.uk/netex}TypeOfPoint ).
examples/functions/fares/Netex_104.MunichL_GeographicFarest1.xml:5517: element GeographicalUnit: Schemas validity error : Element '{http://www.netex.org.uk/netex}GeographicalUnit': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}TypeOfValue, {http://www.netex.org.uk/netex}TypeOfEntity, {http://www.netex.org.uk/netex}DataSource, {http://www.netex.org.uk/netex}Branding, {http://www.netex.org.uk/netex}TypeOfResponsibilityRole, {http://www.netex.org.uk/netex}PurposeOfGrouping, {http://www.netex.org.uk/netex}TypeOfFrame, {http://www.netex.org.uk/netex}TypeOfValidity, {http://www.netex.org.uk/netex}TypeOfProjection, {http://www.netex.org.uk/netex}TypeOfPoint ).
examples/functions/fares/Netex_104.MunichL_GeographicFarest1.xml fails to validate
examples/functions/fares/Netex_51.1_Bus_SimpleFares_PointToPoint_SingleProduct.xml validates
examples/functions/fares/Netex_51.2_Bus_SimpleFares_PointToPoint_MultipleProducts.xml validates
examples/functions/fares/Netex_51.3_Bus_SimpleFares_ZoneToZone_AdultChildProducts.xml validates
examples/functions/fares/Netex_51.4_Bus_SimpleFares_ZoneToZone_OffPeakProduct.xml validates
examples/functions/fares/Netex_61.1_Bus_GeographicFares_UnitDistance_SingleProduct.xml validates
examples/functions/fares/Netex_61.1_Bus_GeographicFares_UnitFareStage_SingleProduct.xml validates
examples/functions/fares/Netex_61.2_Bus_GeographicFares_UnitZone_MultipleProduct.xml validates
examples/functions/fares/Netex_61.3_Bus_GeographicFares_HierarchicalZone_MultipleProduct.xml validates
examples/functions/fares/Netex_71.1_Bus_TimeIntervalFares_Zonal_MultipleProduct.xml validates
examples/functions/fares/Netex_71.2_Bus_ZonalFares_MultipleSalesPackages.xml validates
examples/functions/fares/Netex_71.3_Bus_ZonalFares_TimeUnitsPackages.xml validates
examples/functions/fares/Netex_81.1_Metro_FlatFare_GroupProduct.xml validates
examples/functions/fares/Netex_81.2_Metro_TravelCard_MultipleProduct.xml validates
examples/functions/fares/Netex_81.3_Metro_WeeklyPass_MultipleProduct.xml validates
examples/functions/fares/Netex_91.1_Rail_RailCard_MultipleProduct.xml validates
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:114: element ValidityParameterAssignment: Schemas validity error : Element '{http://www.netex.org.uk/netex}ValidityParameterAssignment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}GenericParameterAssignment, {http://www.netex.org.uk/netex}GenericParameterAssignmentInContext ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:128: element ValidityParameterAssignment: Schemas validity error : Element '{http://www.netex.org.uk/netex}ValidityParameterAssignment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}GenericParameterAssignment, {http://www.netex.org.uk/netex}GenericParameterAssignmentInContext ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:142: element ValidityParameterAssignment: Schemas validity error : Element '{http://www.netex.org.uk/netex}ValidityParameterAssignment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}GenericParameterAssignment, {http://www.netex.org.uk/netex}GenericParameterAssignmentInContext ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:156: element ValidityParameterAssignment: Schemas validity error : Element '{http://www.netex.org.uk/netex}ValidityParameterAssignment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}GenericParameterAssignment, {http://www.netex.org.uk/netex}GenericParameterAssignmentInContext ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:170: element ValidityParameterAssignment: Schemas validity error : Element '{http://www.netex.org.uk/netex}ValidityParameterAssignment': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}GenericParameterAssignment, {http://www.netex.org.uk/netex}GenericParameterAssignmentInContext ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml:183: element fareUsageParameters: Schemas validity error : Element '{http://www.netex.org.uk/netex}fareUsageParameters': This element is not expected. Expected is one of ( {http://www.netex.org.uk/netex}priceGroups, {http://www.netex.org.uk/netex}fareTables, {http://www.netex.org.uk/netex}distributionChannels, {http://www.netex.org.uk/netex}groupsOfDistributionChannels, {http://www.netex.org.uk/netex}fulfilmentMethods, {http://www.netex.org.uk/netex}typesOfTravelDocuments, {http://www.netex.org.uk/netex}travelDocuments, {http://www.netex.org.uk/netex}salesPackages, {http://www.netex.org.uk/netex}salesPackageElements, {http://www.netex.org.uk/netex}salesPackageSubstitutions ).
examples/functions/fares/Netex_CDL1_Bus_Zonal_MobileProducts.xml fails to validate
examples/functions/fares/TfN_Arriva_163_basic.xml validates
examples/functions/fares/TfN_Metrobus_1_basic.xml validates
examples/functions/fares/TfN_Metrobus_1_extended.xml validates
examples/functions/fares/TfN_Metrobus_1_travelhack.xml validates
examples/functions/fares/TfN_Metrobus_metrorider.xml validates
examples/functions/grouping/Netex_GroupingExample_General_01.xml validates
examples/functions/patterns/Netex_KBIC_ParisNetwork_1.xml validates
examples/functions/pointOfInterest/Netex_Sites_PoiClassification_1.xml validates
examples/functions/simpleNetwork/Netex_SimpleNetwork_1.xml validates
examples/functions/simpleNetwork/Netex_uk_underground_1.xml validates
examples/functions/site/Netex_01_Sites_SimpleStadium_1.xml validates
examples/functions/site/Netex_10_Sites_OlympicPark_2_basic.xml validates
examples/functions/site/Netex_11_Sites_OlympicPark_1.xml validates
examples/functions/site/Netex_12_Sites_OlympicPark_3_nav.xml validates
examples/functions/site/Netex_13_Sites_OlympicPark_4_delayOnly.xml validates
examples/functions/site/Netex_14_Olympic Venues 1.1.xml validates
examples/functions/site/Netex_21_Sites_Parking_1.xml validates
examples/functions/site/Netex_21_Sites_Parking_2.xml validates
examples/functions/stopPlace/Netex_01_StopPoints_NoFrills_1.xml validates
examples/functions/stopPlace/Netex_01_Stops_SingleStopOnStreet_1.xml validates
examples/functions/stopPlace/Netex_02_Stops_StopPairOnStreet_1.xml validates
examples/functions/stopPlace/Netex_04_Stops_SimpleStation_1.xml validates
examples/functions/stopPlace/Netex_10_StopPlace_uk_ComplexStation_Wimbledon_1.xml validates
examples/functions/stopPlace/Netex_10_StopPlace_withParking_1.xml validates
examples/functions/timetable/Netex_01.1_Bus_SimpleTimetable_JourneysOnly.xml validates
examples/functions/timetable/Netex_01.2_Bus_SimpleTimetable_WithTimings.xml validates
examples/functions/timetable/Netex_01.3_Bus_SimpleTimetable_WithMultiplePatterns.xml validates
examples/functions/timetable/Netex_01.4_Bus_SimpleTimetable_WithConnection.xml validates
examples/functions/timetable/Netex_01.5_Bus_SimpleTimetable_StopAssignment.xml validates
examples/functions/timetable/Netex_01.6_Bus_SimpleTimetable_RouteProjection.xml validates
examples/functions/timetable/Netex_02.1_Bus_CircularRoute_Timetable.xml validates
examples/functions/timetable/Netex_03.1_Bus_BranchedRouteTimetable_SimplePatterns.xml validates
examples/functions/timetable/Netex_03.2_Bus_BranchedRouteTimetable_SharedPatterns.xml validates
examples/functions/timetable/Netex_05.1_Bus_TemplateTimetable_HeadwayFrequency.xml validates
examples/functions/timetable/Netex_05.2_Bus_TemplateTimetable_RhythmicalFrequency.xml validates
examples/functions/timetable/Netex_06.1_Bus_FrequencyJourneyTimetable_HeadwayInterval.xml validates
examples/functions/timetable/Netex_06.2_Bus_FrequencyJourneyTimetable_RhythmicalInterval.xml validates
examples/functions/timetable/Netex_07.1_Bus_FlexibleTimetable_ZonesOnly.xml validates
examples/functions/timetable/Netex_07.2_Bus_FlexibleTimetable_WithPattern.xml validates
examples/functions/timetable/Netex_08.1_BusTram_Timetable_AmbiguousLinks.xml validates
examples/functions/timetable/Netex_08.2_Bus_SimpleTimetable_Cancellation.xml validates
examples/functions/timetable/Netex_09.1_Bus_InterchangeRule.xml validates
examples/functions/timetable/Netex_09.2_Bus_SimpleTimetable_Slovenia.xml validates
examples/functions/timetable/Netex_10_Rail_SplittingJoiningTimetable.xml validates
examples/functions/timetable/Netex_11_Rail_CompoundTrain.xml validates
examples/functions/timetable/Netex_21_Rail_NetworkTimetable_eurostar.xml validates
examples/functions/timetable/Netex_32_Multimodal_PassengerInformationEquipment.xml validates
examples/functions/validityCondition/NeTEx_trigger-01.xml validates
examples/functions/variant/Netex_VariantExample_Step_05.xml validates
examples/functions/vehicleSchedule/Netex_simpleVehicleSchedule_01.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_01.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_02.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_03.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_04.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_05_ByRef.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_05_GeneralFrame.xml validates
examples/functions/versioning/Netex_VersioningExample_Step_05.xml validates
examples/functions/versioning/Netex_VersioningExample_VersionHistories_01.xml validates
examples/functions/versioning/Netex_VersioningExample_VersionHistories_02.xml validates