diff --git a/validator/test.sh b/validator/test.sh new file mode 100755 index 0000000..4765b04 --- /dev/null +++ b/validator/test.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# Test validation schemas against some example files + +./xsd/validate_schedule_xml.sh https://api.events.ccc.de/congress/2023/schedule.xml \ No newline at end of file diff --git a/validator/xsd/schedule.xml.xsd b/validator/xsd/schedule.xml.xsd index 553050b..8a19a8a 100644 --- a/validator/xsd/schedule.xml.xsd +++ b/validator/xsd/schedule.xml.xsd @@ -13,17 +13,25 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -79,10 +87,10 @@ - + - - + + @@ -130,13 +138,19 @@ - - + + + + + + + + @@ -149,6 +163,13 @@ + + + + + + + @@ -163,8 +184,9 @@ - - + + + @@ -199,4 +221,25 @@ + + + + + + + + + + + + + + + + + + + + +