diff options
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org/sdp.org b/org/sdp.org index e5ed367..fe560e1 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -995,18 +995,18 @@ string[string] check = [ ]; foreach (k; doc_matters.xml.keys_seq.seg) { foreach (obj; doc_abstraction[k]) { - if (obj.typeinfo.is_of_part != "empty") { - if (!empty(obj.node.object_number)) { + if (obj.metainfo.is_of_part != "empty") { + if (!empty(obj.metainfo.object_number)) { if (k == "body") { - check["last_object_number_body"] = obj.node.object_number; + check["last_object_number_body"] = obj.metainfo.object_number; } - if (!(obj.node.object_number.empty)) { - check["last_object_number"] = obj.node.object_number; + if (!(obj.metainfo.object_number.empty)) { + check["last_object_number"] = obj.metainfo.object_number; } } if (k == "bookindex_seg") { - if (obj.misc.object_number_type == 2) { - check["last_object_number_book_index"] = obj.misc.object_number_book_index; + if (obj.metainfo.object_number_type == 2) { + check["last_object_number_book_index"] = obj.metainfo.object_number_book_index; } } } |