Dash-Industry-Forum / DASH-IF-Conformance

This repository provides the source code for MPEG-DASH/DASH-IF Conformance Software/Validator. It has been extended according to further standards, such as CMAF, DVB-DASH, HbbTV, and CTA WAVE.
https://conformance.dashif.org/
Other
67 stars 28 forks source link

Issue in the MPD schematron validation with dash conformance tool #692

Closed Ramajayadevi closed 6 months ago

Ramajayadevi commented 11 months ago

When we validate the MPD against DASH conformance tool, its giving below error in the MPD Schematron validation itself, tried with multiple MPDs and observing the same issue. Could you look into this issue and sort it out?

dashif

jpiesing commented 11 months ago

I'm not one of the maintainers but how can this be reproduced by one of the maintainers? Can you share the URL?

Ramajayadevi commented 11 months ago

I have given the mpd as an input & the same is attached & you can try with this URL also (https://livesim2.dashif.org/livesim2/chunkdur_1/ato_7/testpic4_8s/Manifest.mpd)

dsilhavy commented 11 months ago

@Ramajayadevi can you check https://conformance.dashif.org/ again. i think there is some missing output in the messages field in the ui but if you download the json report via the button above it should give you the required information. for the example you linked above:

{
  "parse_segments": false,
  "source": "https://livesim2.dashif.org/livesim2/chunkdur_1/ato_7/testpic4_8s/Manifest.mpd",
  "entries": {
    "Schematron": {
      "verdict": "FAIL",
      "MPD": {
        "verdict": "FAIL",
        "info": [
          "MPDValidator output: 0XLink resolving successful\n\n\nLine:Col[39:70]:cvc-complex-type.2.4.a: Invalid content was found starting with element 'ProducerReferenceTime'. One of '{\"urn:mpeg:dash:schema:mpd:2011\":Representation}' is expected.\nLine:Col[87:70]:cvc-complex-type.2.4.a: Invalid content was found starting with element 'ProducerReferenceTime'. One of '{\"urn:mpeg:dash:schema:mpd:2011\":Representation}' is expected.\nMPD validation not successful - DASH is not valid!\n\n\n",
          "Schematron output: 0XLink resolving successful\n\n\nLine:Col[39:70]:cvc-complex-type.2.4.a: Invalid content was found starting with element 'ProducerReferenceTime'. One of '{\"urn:mpeg:dash:schema:mpd:2011\":Representation}' is expected.\nLine:Col[87:70]:cvc-complex-type.2.4.a: Invalid content was found starting with element 'ProducerReferenceTime'. One of '{\"urn:mpeg:dash:schema:mpd:2011\":Representation}' is expected.\nMPD validation not successful - DASH is not valid!\n\n\n"
        ],
        "test": [
          {
            "spec": "MPEG-DASH",
            "section": "Commmon",
            "test": "Schematron Validation",
            "messages": [
              "✓ XLink resolving succesful",
              "✗ MPD validation failed",
              "✗ Schematron validation failed"
            ],
            "state": "FAIL",
            "part": {}
          }
        ],
        "name": "MPD",
        "module": {}
      },
      "name": "Schematron"
    },
    "Stats": {
      "LastWritten": "2023-11-09 09:00:10"
    },
    "verdict": "FAIL",
    "MPEG-DASH Common": {
      "verdict": "PASS",
      "BeforeMPD": {
        "verdict": "PASS"
      },
      "MPD": {
        "verdict": "PASS"
      },
      "name": "MPEG-DASH Common"
    }
  },
  "verdict": "FAIL",
  "enabled_modules": [
    {
      "useLatestXSD": false,
      "name": "MPEG-DASH Common",
      "detected": false
    }
  ]
}
rbouqueau commented 6 months ago

Tested and it works. Thanks for reporting!