File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,5 +34,6 @@ assert_rejected() { # <file> <schema> <expected error substring>
3434echo " Checking NeTEx 'should-fail' negative examples ..."
3535assert_rejected examples/should-fail/duplicate-GroupOfLinkSequences.xml xsd/NeTEx_publication.xsd " Duplicate key-sequence"
3636assert_rejected examples/should-fail/duplicate-CalendarDate.xml xsd/NeTEx_publication.xsd " Duplicate key-sequence"
37+ assert_rejected examples/should-fail/duplicate-ValidBetween.xml xsd/NeTEx_publication.xsd " Duplicate key-sequence"
3738
3839exit " ${fail} "
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <PublicationDelivery xmlns =" http://www.netex.org.uk/netex" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" version =" 1.0" >
3+ <PublicationTimestamp >2020-01-01T12:00:00Z</PublicationTimestamp >
4+ <ParticipantRef >TEST</ParticipantRef >
5+ <dataObjects >
6+ <ResourceFrame version =" 1.0" id =" TEST:ResourceFrame:1" >
7+ <ValidBetween id =" TEST:ValidBetween:1" version =" 1.0" ><FromDate >2020-01-01T00:00:00Z</FromDate ></ValidBetween >
8+ </ResourceFrame >
9+ <ServiceFrame version =" 1.0" id =" TEST:ServiceFrame:1" >
10+ <ValidBetween id =" TEST:ValidBetween:1" version =" 1.0" ><FromDate >2020-01-01T00:00:00Z</FromDate ></ValidBetween >
11+ </ServiceFrame >
12+ </dataObjects >
13+ </PublicationDelivery >
You can’t perform that action at this time.
0 commit comments