[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 0ae01fc 3/3: Reconcile while reading vendor e
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 0ae01fc 3/3: Reconcile while reading vendor extracts |
Date: |
Tue, 20 Mar 2018 13:26:00 -0400 (EDT) |
branch: master
commit 0ae01fcc66b19d523de8d0cf7d920d848e1124ca
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Reconcile while reading vendor extracts
See discussion in the immediately-preceding commit message.
---
multiple_cell_document.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/multiple_cell_document.cpp b/multiple_cell_document.cpp
index a154214..9590014 100644
--- a/multiple_cell_document.cpp
+++ b/multiple_cell_document.cpp
@@ -146,6 +146,7 @@ void multiple_cell_document::parse(xml_lmi::dom_parser
const& parser)
if(data_source_is_external(parser.document()))
{
+ status() << "Validating..." << std::flush;
validate_with_xsd_schema(parser.document(),
xsd_schema_name(file_version));
}
@@ -169,6 +170,10 @@ void multiple_cell_document::parse(xml_lmi::dom_parser
const& parser)
for(auto const& j : subelements)
{
j >> cell;
+ if(data_source_is_external(parser.document()))
+ {
+ cell.Reconcile();
+ }
v.push_back(cell);
status() << "Read " << ++counter << " cells." << std::flush;
}