diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-11 00:36:00 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-11 01:03:42 +0200 |
| commit | 1639534db734d3165726282d7530b13d6a763ebb (patch) | |
| tree | 4730c280afac1001f9080040493c589d1237ea91 | |
| parent | c433039121e361d4466ac626d879edaa18050ffb (diff) | |
Add Interop closed caption XSD for verification.
| -rw-r--r-- | src/verify.cc | 2 | ||||
| -rw-r--r-- | wscript | 1 | ||||
| -rw-r--r-- | xsd/PROTO-ASDCP-CC-CPL-20070926.xsd | 6 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index a9036fd1..4fce49a3 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -203,6 +203,7 @@ public: add("http://www.digicine.com/PROTO-ASDCP-CPL-20040511.xsd", "PROTO-ASDCP-CPL-20040511.xsd"); add("http://www.digicine.com/PROTO-ASDCP-PKL-20040311.xsd", "PROTO-ASDCP-PKL-20040311.xsd"); add("http://www.digicine.com/PROTO-ASDCP-AM-20040311.xsd", "PROTO-ASDCP-AM-20040311.xsd"); + add("http://www.digicine.com/PROTO-ASDCP-CC-CPL-20070926#", "PROTO-ASDCP-CC-CPL-20070926.xsd"); add("interop-subs", "DCSubtitle.v1.mattsson.xsd"); add("http://www.smpte-ra.org/schemas/428-7/2010/DCST.xsd", "SMPTE-428-7-2010-DCST.xsd"); } @@ -276,6 +277,7 @@ validate_xml (T xml, boost::filesystem::path xsd_dtd_directory, list<Verificatio schema.push_back("PROTO-ASDCP-AM-20040311.xsd"); schema.push_back("DCSubtitle.v1.mattsson.xsd"); schema.push_back("DCDMSubtitle-2010.xsd"); + schema.push_back("PROTO-ASDCP-CC-CPL-20070926.xsd"); /* XXX: I'm not especially clear what this is for, but it seems to be necessary */ string locations; @@ -245,6 +245,7 @@ def build(bld): 'PROTO-ASDCP-CPL-20040511.xsd', 'PROTO-ASDCP-PKL-20040311.xsd', 'PROTO-ASDCP-AM-20040311.xsd', + 'PROTO-ASDCP-CC-CPL-20070926.xsd', 'Main-Stereo-Picture-CPL.xsd', 'DCSubtitle.v1.mattsson.xsd', 'DCDMSubtitle-2010.xsd' ]: diff --git a/xsd/PROTO-ASDCP-CC-CPL-20070926.xsd b/xsd/PROTO-ASDCP-CC-CPL-20070926.xsd new file mode 100644 index 00000000..36ba4d8f --- /dev/null +++ b/xsd/PROTO-ASDCP-CC-CPL-20070926.xsd @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.digicine.com/PROTO-ASDCP-CC-CPL-20070926#" xmlns:cpl="http://www.digicine.com/PROTO-ASDCP-CPL-20040511#" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import namespace="http://www.digicine.com/PROTO-ASDCP-CPL-20040511#" schemaLocation="http://www.digicine.com/PROTO-ASDCP-CPL-20040511.xsd"/> + <!--MainClosedCaption--> + <xs:element name="MainClosedCaption" type="cpl:SubtitleTrackFileAssetType"/> +</xs:schema> |
