<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/test/verify_test.cc, branch v1.8.0</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=v1.8.0</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=v1.8.0'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2021-10-03T20:18:56Z</updated>
<entry>
<title>Make the former dcst namespace default for SMPTE subtitles.</title>
<updated>2021-10-03T20:18:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-03T20:18:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=fac4b92813714d5b6bdaaa4425bf0bf81dbd1a45'/>
<id>urn:sha1:fac4b92813714d5b6bdaaa4425bf0bf81dbd1a45</id>
<content type='text'>
In DoM bug #2061 it is reported that Easy DCP gives the error

"XML Document has default root namespace prefix: dcst.
 Default namespace should not use prefix for root or root namespace child nodes."

with SMPTE subtitle files written by DCP-o-matic, and that the correct
fix is to make the former dcst: namespace the default and then remove
the dcst: qualifiers from everything.

I'm not sure I agree with the error; AFAICS the subtitle files written
by previous versions did not have a default root namespace prefix,
since it was specified by xmlns:dcst and not just xmlns alone, so I
think they were valid.

However, using a default NS also seems fine, slightly simplifies the
code and produces more compact subtitle files, so we change that here.
It should also stop Easy DCP complaining, which is always marginally
preferable to sticking to our guns and getting the blame for it.
</content>
</entry>
<entry>
<title>Improve message on verify test failure.</title>
<updated>2021-08-11T21:35:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-08-11T21:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=b3cb9c0e9712fdaa713b8b4b4d07dfa69dd690e4'/>
<id>urn:sha1:b3cb9c0e9712fdaa713b8b4b4d07dfa69dd690e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add verify check for empty &lt;Text&gt; nodes in timed text.</title>
<updated>2021-08-11T21:35:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-08-10T00:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=c259338463b394e61504ff0e232b0ba102c1eda2'/>
<id>urn:sha1:c259338463b394e61504ff0e232b0ba102c1eda2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a belt-and-braces check.</title>
<updated>2021-08-04T18:24:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-08-04T18:24:29Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=bd1fdab75de56b4615e01dc10c535b4ea35372d1'/>
<id>urn:sha1:bd1fdab75de56b4615e01dc10c535b4ea35372d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests after previous commit.</title>
<updated>2021-08-03T22:03:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-08-03T22:03:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=ce7477d528912601972af14b921604943e859de5'/>
<id>urn:sha1:ce7477d528912601972af14b921604943e859de5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve output when a test fails.</title>
<updated>2021-06-01T23:44:34Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-06-01T23:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=e39c25293d4c2e0d56bdbc856186c929de69d566'/>
<id>urn:sha1:e39c25293d4c2e0d56bdbc856186c929de69d566</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce test flakyness a bit.</title>
<updated>2021-06-01T23:44:34Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-06-01T23:27:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=ea2c5d699733b99347448875f5601b6b714f03c2'/>
<id>urn:sha1:ea2c5d699733b99347448875f5601b6b714f03c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sort notes when checking verifications.</title>
<updated>2021-05-27T09:44:21Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T09:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=3e866abeee4de737a04719ff8ab6c6bf46bb4d74'/>
<id>urn:sha1:3e866abeee4de737a04719ff8ab6c6bf46bb4d74</id>
<content type='text'>
So that the lists in the tests don't have to be in the right order.
</content>
</entry>
<entry>
<title>Don't give an error on verifying Interop DCPs with possibly-incorrectly</title>
<updated>2021-04-22T19:56:38Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-22T19:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=5e1ce36be463bfc48663d4697860340649060d01'/>
<id>urn:sha1:5e1ce36be463bfc48663d4697860340649060d01</id>
<content type='text'>
marked 3D assets.

This also adds a warning into the verification output.

I don't know if this is actually a standard violation but they
have been seen in the wild made by "reputable" DCP creation software.

DoM bug #1976.
</content>
</entry>
<entry>
<title>Improve handling of image subtitle IDs in XML (DoM bug #1965)</title>
<updated>2021-04-14T14:20:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-14T07:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=098007a1ee6a46b6ff11398f94faff5c85951da4'/>
<id>urn:sha1:098007a1ee6a46b6ff11398f94faff5c85951da4</id>
<content type='text'>
When reading/writing the XML for image subtitles, we assumed that
the content of the &lt;Image&gt; tag is just the ID of the PNG in the MXF,
without any prefix.

DoM bug #1965 mentions a DCP where this is not the case, and SMPTE
429-5-2009 has an example where there is urn:uuid: in the XML.

This change makes DoM write this urn:uuid: prefix, and accept it if
it's present (but not complain if it's not).

If the urn:uuid: _is_ required in the field, it's a bit surprising
that nobody has complained up to this point.  Maybe nobody noticed,
or nobody reported it.
</content>
</entry>
</feed>
