<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/src/smpte_subtitle_asset.cc, branch utf8</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=utf8</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=utf8'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2023-02-17T23:35:01Z</updated>
<entry>
<title>Be explicit about the version of SMPTE 428-7 that is used for subtitles,</title>
<updated>2023-02-17T23:35:01Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-11T21:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=214c3093f7e985cde610457fae9e1f97068efde5'/>
<id>urn:sha1:214c3093f7e985cde610457fae9e1f97068efde5</id>
<content type='text'>
and default to writing the 2014 namespace.
</content>
</entry>
<entry>
<title>In Deluxe's "Specifications for Digital Cinema Source and DCP Content Delivery"</title>
<updated>2023-02-02T00:37:16Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-02-02T00:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=e0b3f0dec29dfe2952a8bdf445295e8445a8ecd9'/>
<id>urn:sha1:e0b3f0dec29dfe2952a8bdf445295e8445a8ecd9</id>
<content type='text'>
they say that subtitle &lt;IssueDate&gt; must be of the form yyyy-mm-ddThh:mm:ss

They don't explain it, and the standards don't say this (as far as I can see)
but as usual their QC fails &lt;IssueDates&gt; that don't meet this "spec" so here
we are.

See also:
https://dcpomatic.com/forum/viewtopic.php?t=2069
</content>
</entry>
<entry>
<title>Fix some ambiguous shared_ptrs, seen on Arch Linux.</title>
<updated>2022-12-04T20:52:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-04T19:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=32360aedc97a0cc9acc1b1c10d2e8351dcacb549'/>
<id>urn:sha1:32360aedc97a0cc9acc1b1c10d2e8351dcacb549</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Nearly pretty-print subtitle XML (though not in &lt;Text&gt; nodes).</title>
<updated>2022-03-20T20:20:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-03-15T14:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=066e30f30f851396bd6f10d50a448507e1c0b392'/>
<id>urn:sha1:066e30f30f851396bd6f10d50a448507e1c0b392</id>
<content type='text'>
This is an attempt to fix DoM bug #2205.
</content>
</entry>
<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>Make similar changes to the previous commit for _xml_id.</title>
<updated>2021-05-27T12:25:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T12:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=dd672d926e3b88cbe42b0778fda397d9e858b592'/>
<id>urn:sha1:dd672d926e3b88cbe42b0778fda397d9e858b592</id>
<content type='text'>
This is also unavailable if the asset is encrypted.
</content>
</entry>
<entry>
<title>Tidy handling of _raw_xml.</title>
<updated>2021-05-27T12:25:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T12:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=a6a1294944d4ce02cbb429ca1aec07ca78d79a88'/>
<id>urn:sha1:a6a1294944d4ce02cbb429ca1aec07ca78d79a88</id>
<content type='text'>
Before this if we tried to get the XML of an encrypted asset we
would just get an empty string.  Now we get a boost::none which
means the verifier can avoid trying to check details of the XML
(and instead raise a warning that you are trying to verify data
that it cannot decrypt).
</content>
</entry>
<entry>
<title>Read the bits we can from the MXF header even when it is encrypted.</title>
<updated>2021-05-27T09:45:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-27T09:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=c1d32ccfc586d0292ca4ec35a03fb403c3c45a07'/>
<id>urn:sha1:c1d32ccfc586d0292ca4ec35a03fb403c3c45a07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix/hide some warnings.</title>
<updated>2021-04-13T23:00:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-13T23:00:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=274dd30f2b11fe8ea563a2ac7436c9d463865b0b'/>
<id>urn:sha1:274dd30f2b11fe8ea563a2ac7436c9d463865b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't set the MXF _id from the XML &lt;Id&gt; tag.</title>
<updated>2021-04-08T00:05:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-08T00:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=854bc0a513611a402b2d693d9d17da3420fd10b4'/>
<id>urn:sha1:854bc0a513611a402b2d693d9d17da3420fd10b4</id>
<content type='text'>
They should not be the same, so it's unhelpful to make them so.
parse_xml() sets up _xml_id anyway.
</content>
</entry>
</feed>
