DASH-IF-Conformance
DASH-IF-Conformance copied to clipboard
Schema validation is out of date
The java files in mpdvalidator/src/org/iso/mpeg/dash that are generated from the DASH xsd files in mpdvalidator/schemas are 3 years old. In the meantime a lot of things have been added or changed and thus the validator passes MPD files that are no longer valid.
I guess when the schemas were updated the last time these src files were not updated. This can be easily done in these 6 steps:
- Create temp dir
- Copy correct xsd and xlink.xsd from DASH/mpdvalidator/schemas to temp dir
- run 'xjc [SCHEMA_NAME].xsd'
- copy generated files to correct folders in DASH/mpdvalidator/src
- change directory to DASH/mpdvalidator
- remove the temp dir
- run 'ant' to compile the application again.
xjc complains that Initialization and BitstreamSwitching are defined several times. We'll try to fix this while updating either the spec or the tooling.
Right, I had the same issue but forgot about it since I used a temp copy of the schemas. To fix it I used the following answer on stack overflow: https://stackoverflow.com/a/38513529.
For a permanent fix it might be better to do something with the JAXB bindinds file they mention. However I have no idea what this is, I'm not familiar with java development.
@Phencys Is this issue still relevant?