You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In clause G.21 of ISO/IEC 23009-1:2022 it has an example of an MPD Patch document.
I think there might be three errors in this example:
The replace element for the patch location uses selector /MPD/PatchLocation[0] however XPath indexes start at one not zero. See https://www.w3.org/TR/xpath20/#abbrev for examples of the abbreviated index syntax in XPath.
The add element for the first adaptation set uses selector /MPD/Period[@id='1588435200']/AdaptationSet[@id='1']/SegmentTemplate/SegmentTimeline. However clause 5.15.3.4 states that "All other elements shall be addressed by position, e.g. SegmentTemplate[1]." As neither SegmentTemplate nor SegmentTimeline is listed as one of the special cases for the element addressing restrictions, I think it would need to adhere to the "shall be addressed by position" rule.
The add element for the second adaptation set uses selector /MPD/Period[@id='1588435200']/AdaptationSet[@id='2']/SegmentTemplate/SegmentTimeline also appears to be in conflict with clause 5.15.3.4.
If my reading of the normative text in the 5th ed DIS and the XPath specification is correct, I think the example should be:
In clause G.21 of ISO/IEC 23009-1:2022 it has an example of an MPD Patch document.
I think there might be three errors in this example:
replace
element for the patch location uses selector/MPD/PatchLocation[0]
however XPath indexes start at one not zero. See https://www.w3.org/TR/xpath20/#abbrev for examples of the abbreviated index syntax in XPath.add
element for the first adaptation set uses selector/MPD/Period[@id='1588435200']/AdaptationSet[@id='1']/SegmentTemplate/SegmentTimeline
. However clause 5.15.3.4 states that "All other elements shall be addressed by position, e.g. SegmentTemplate[1]." As neitherSegmentTemplate
norSegmentTimeline
is listed as one of the special cases for the element addressing restrictions, I think it would need to adhere to the "shall be addressed by position" rule.add
element for the second adaptation set uses selector/MPD/Period[@id='1588435200']/AdaptationSet[@id='2']/SegmentTemplate/SegmentTimeline
also appears to be in conflict with clause 5.15.3.4.If my reading of the normative text in the 5th ed DIS and the XPath specification is correct, I think the example should be:
The text was updated successfully, but these errors were encountered: