Validation of content
A collection of well-formed, but possibly semantically invalid, binary encoded multimedia data components or packages as well as the binary encoded announcement, signaling, and interchange protocols used in their transmission are converted into one or more well-formed extensible markup language (XML) files. Such XML files may then be validated according to one or more pre-defined XML schemas, or similar schema languages, in order to verify that the data and protocol structures and substructures adhere to prior defined semantic constraints.
1. An apparatus comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the apparatus to:
generate, based on encoded video, markup language content, wherein the encoded video comprises video data that is associated with one or more formatting rules;
determine, based on validation of the markup language content according to a first schema based on the one or more formatting rules, that the encoded video adheres to the one or more formatting rules;
based on a determination that the encoded video adheres to the one of more formatting rules, generate an instance of a widget associated with the encoded video; and
send, to one or more devices, the instance of the widget.
2. The apparatus of claim 1 , wherein the instructions, when executed by the one or more processors, cause the apparatus to:
generate, based on the validation of the markup language content, a second schema; and
process, based on the second schema, the instance of the widget.
3. The apparatus of claim 1 , wherein the instance of the widget is associated with a presentation semantic.
4. The apparatus of claim 1 , wherein the widget comprises one of a button widget, an input text field widget, a hidden field widget, or a timer widget.
5. The apparatus of claim 1 , wherein the instructions, when executed by the one or more processors, cause the apparatus to:
determine an action applied to the instance of the widget;
generate, based on the action and based on the validation of the markup language content, a second instance of the widget; and
send, to one or more devices, the second instance of the widget.
6. The apparatus of claim 1 , wherein the markup language content comprises extensible markup language (XML) content.
7. The apparatus of claim 1 , wherein the one or more formatting rules comprise a version of an enhanced television binary interchange format (EBIF), comprise a version of Motion Pictures Expert Group (MPEG), comprise a version of Digital Video Broadcasting (DVB), or are associated with OPENCABLE.
8. A non-transitory computer-readable medium storing instructions that, when executed, cause:
generating, based on encoded video, markup language content, wherein the encoded video comprises video data that is associated with one or more formatting rules;
determining, based on validation of the markup language content according to a first schema based on the one or more formatting rules, that the encoded video adheres to the one or more formatting rules;
based on a determination that the encoded video adheres to the one of more formatting rules, generating an instance of a widget associated with the encoded video; and
sending, to one or more devices, the instance of the widget.
9. The non-transitory computer-readable medium of claim 8 , wherein the instructions, when executed, further cause:
generating, based on the validation of the markup language content, a second schema; and
processing, based on the second schema, the instance of the widget.
10. The non-transitory computer-readable medium of claim 8 , wherein the instance of the widget is associated with a presentation semantic.
11. The non-transitory computer-readable medium of claim 8 , wherein the widget comprises one of a button widget, an input text field widget, a hidden field widget, or a timer widget.
12. The non-transitory computer-readable medium of claim 8 , wherein the instructions, when executed, cause:
determining an action applied to the instance of the widget;
generating, based on the action and based on the validation of the markup language content, a second instance of the widget; and
sending, to one or more devices, the second instance of the widget.
13. The non-transitory computer-readable medium of claim 8 , wherein the markup language content comprises extensible markup language (XML) content.
14. The non-transitory computer-readable medium of claim 8 , wherein the one or more formatting rules comprise a version of an enhanced television binary interchange format (EBIF), comprise a version of Motion Pictures Expert Group (MPEG), comprise a version of Digital Video Broadcasting (DVB), or are associated with OPENCABLE.
15. A system comprising:
a user device; and
a computing device, wherein the computing device is configured to:
generate, based on encoded video, markup language content, wherein the encoded video comprises video data that is associated with one or more formatting rules;
determine, based on validation of the markup language content according to a first schema based on the one or more formatting rules, that the encoded video adheres to the one or more formatting rules;
based on a determination that the encoded video adheres to the one of more formatting rules, generate an instance of a widget associated with the encoded video; and
send, to the user device, the instance of the widget.
16. The system of claim 15 , wherein the computing device is further configured to:
generate, based on the validation of the markup language content, a second schema; and
process, based on the second schema, the instance of the widget.
17. The system of claim 15 , wherein the instance of the widget is associated with a presentation semantic.
18. The system of claim 15 , wherein the widget comprises one of a button widget, an input text field widget, a hidden field widget, or a timer widget.
19. The system of claim 15 , wherein the computing device is further configured to:
determine an action applied to the instance of the widget;
generate, based on the action and based on the validation of the markup language content, a second instance of the widget; and
send, to one or more devices, the second instance of the widget.
20. The system of claim 15 , wherein the markup language content comprises extensible markup language (XML) content.
21. The system of claim 15 , wherein the one or more formatting rules comprise a version of an enhanced television binary interchange format (EBIF), comprise a version of Motion Pictures Expert Group (MPEG), comprise a version of Digital Video Broadcasting (DVB), or are associated with OPENCABLE.