Add another .xsd.
authorCarl Hetherington <cth@carlh.net>
Thu, 3 Sep 2020 18:42:47 +0000 (20:42 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 21 Sep 2020 19:57:18 +0000 (21:57 +0200)
src/verify.cc
xsd/SMPTE-429-10-2008.xsd [new file with mode: 0644]

index ddf308cadb1c776257a20464df1b90f063a7f3f3..f888c62d17af82ea9b3f89c2898fa87fc0eff8cc 100644 (file)
@@ -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 (file)
index 0000000..3623498
--- /dev/null
@@ -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>