Volume navigation
Extensions and XML comments
ElementOn this page
Position
Extension points: break-level and top-level Extensions carry information VMAP does not define; XML comments may appear anywhere in the document.
- Spec section
- §2.7–2.8
- Parent
- AdBreak · VMAP(顶层)
- Cardinality
- 0..1(Extension 0..n)
- XSD difference
- XSD 未收录顶层 Extensions
Attributes and values
| Attribute | Type | Required | Values | Notes |
|---|---|---|---|---|
| Extension/@type | string | Yes | — | Extension type, globally unique, a URI is recommended |
Children and structure
- Extension0..nWraps proprietary XML whose content must use its own namespace
XML snippet
<Extensions> <Extension type="https://example.com/ext/pod-policy">…</Extension> </Extensions>
Player behaviour
- 1Players are not required to support any extension and may ignore unknown types
- 2A top-level Extensions expresses custom policies that are not break-dependent
- 3XML comments may appear anywhere in the document and parsers should anticipate them
Invalid forms
- An Extension without the type attribute (required)
- Extension content not in its own namespace