summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-03 20:42:47 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commit445f2495fbb0885132d3a6c8e7a1e135cbac3cce (patch)
tree45fc71d92ed425751207acb345f8fdef817f5a11
parent931ede74d952e77a5bbd58e23d4977bc3081587a (diff)
Add another .xsd.
-rw-r--r--src/verify.cc2
-rw-r--r--xsd/SMPTE-429-10-2008.xsd6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc
index ddf308ca..f888c62d 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -208,6 +208,7 @@ public:
add("http://www.smpte-ra.org/schemas/428-7/2010/DCST.xsd", "SMPTE-428-7-2010-DCST.xsd");
add("http://www.smpte-ra.org/schemas/429-16/2014/CPL-Metadata", "SMPTE-429-16.xsd");
add("http://www.dolby.com/schemas/2012/AD", "Dolby-2012-AD.xsd");
+ add("http://www.smpte-ra.org/schemas/429-10/2008/Main-Stereo-Picture-CPL", "SMPTE-429-10-2008.xsd");
}
InputSource* resolveEntity(XMLCh const *, XMLCh const * system_id)
@@ -285,6 +286,7 @@ validate_xml (T xml, boost::filesystem::path xsd_dtd_directory, list<Verificatio
schema.push_back("PROTO-ASDCP-CC-CPL-20070926.xsd");
schema.push_back("SMPTE-429-16.xsd");
schema.push_back("Dolby-2012-AD.xsd");
+ schema.push_back("SMPTE-429-10-2008.xsd");
/* XXX: I'm not especially clear what this is for, but it seems to be necessary */
string locations;
diff --git a/xsd/SMPTE-429-10-2008.xsd b/xsd/SMPTE-429-10-2008.xsd
new file mode 100644
index 00000000..36234982
--- /dev/null
+++ b/xsd/SMPTE-429-10-2008.xsd
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.smpte-ra.org/schemas/429-10/2008/Main-Stereo-Picture-CPL" xmlns:cpl="http://www.smpte-ra.org/schemas/429-7/2006/CPL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import namespace="http://www.smpte-ra.org/schemas/429-7/2006/CPL"/>
+ <!--MainStereoscopicPicture-->
+ <xs:element name="MainStereoscopicPicture" type="cpl:PictureTrackFileAssetType"/>
+</xs:schema>