summaryrefslogtreecommitdiff
path: root/src/parse/pkl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/pkl.cc')
-rw-r--r--src/parse/pkl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse/pkl.cc b/src/parse/pkl.cc
index d790cfe4..bbf070ae 100644
--- a/src/parse/pkl.cc
+++ b/src/parse/pkl.cc
@@ -30,7 +30,8 @@ using namespace libdcp::parse;
PKL::PKL (string file)
{
- cxml::File f (file, "PackingList");
+ cxml::Document f ("PackingList");
+ f.read_file (file);
id = f.string_child ("Id");
annotation_text = f.optional_string_child ("AnnotationText").get_value_or ("");