Missing urn:uuid:
authorCarl Hetherington <cth@carlh.net>
Sat, 12 Sep 2015 13:04:37 +0000 (14:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 12 Sep 2015 13:04:37 +0000 (14:04 +0100)
src/smpte_subtitle_asset.cc

index cb6e90c1007204dea790faf6a8ceb92d0705f594..c792506a5ac4ef75e654054473f1397f1d512fe2 100644 (file)
@@ -187,7 +187,7 @@ SMPTESubtitleAsset::xml_as_string () const
        root->set_namespace_declaration ("http://www.smpte-ra.org/schemas/428-7/2010/DCST", "dcst");
        root->set_namespace_declaration ("http://www.w3.org/2001/XMLSchema", "xs");
 
-       root->add_child("ID", "dcst")->add_child_text (_id);
+       root->add_child("Id", "dcst")->add_child_text ("urn:uuid:" + _id);
        root->add_child("ContentTitleText", "dcst")->add_child_text (_content_title_text);
        if (_annotation_text) {
                root->add_child("AnnotationText", "dcst")->add_child_text (_annotation_text.get ());