From 1368dfded40e5a774a73e2256e214bcaf4e74866 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 7 May 2013 15:53:38 +0100 Subject: AnnotationText is (I believe) optional. --- src/pkl_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pkl_file.cc b/src/pkl_file.cc index 21763f27..6dfb627c 100644 --- a/src/pkl_file.cc +++ b/src/pkl_file.cc @@ -32,7 +32,7 @@ PKLFile::PKLFile (string file) : XMLFile (file, "PackingList") { id = string_child ("Id"); - annotation_text = string_child ("AnnotationText"); + annotation_text = optional_string_child ("AnnotationText"); issue_date = string_child ("IssueDate"); issuer = string_child ("Issuer"); creator = string_child ("Creator"); -- cgit v1.2.3