diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-07 15:53:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-07 15:53:38 +0100 |
| commit | 1368dfded40e5a774a73e2256e214bcaf4e74866 (patch) | |
| tree | 745e9b9e7c60d05889f1876c30e44dc97d6a38c0 | |
| parent | 34466763154ee900200e96b7d753c455a2c3414e (diff) | |
AnnotationText is (I believe) optional.
| -rw-r--r-- | src/pkl_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
