diff options
author | Georges-Henri Baron <georges-henrix.baron@intel.com> | 2012-10-17 16:16:53 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:29 +0100 |
commit | df6649888c0beb66e0461e1f5a15b5f676b5a048 (patch) | |
tree | 61478f19cb955ca3ea97046d9c00f4f796f035d6 /xmlserializer | |
parent | 0d675d10296eb54fa0508a2424d736d4e587e191 (diff) | |
download | external_parameter-framework-df6649888c0beb66e0461e1f5a15b5f676b5a048.zip external_parameter-framework-df6649888c0beb66e0461e1f5a15b5f676b5a048.tar.gz external_parameter-framework-df6649888c0beb66e0461e1f5a15b5f676b5a048.tar.bz2 |
PFW: Report error for unknown element in settings
BZ: 62872
Report error if an element that doesn't exist is part of the
settings xml description.
Change-Id: I936519a0f28a2fd7a3b9e089c08ec12f0fe6c641
Signed-off-by: Georges-Henri Baron <georges-henrix.baron@intel.com>
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
Reviewed-on: http://android.intel.com:8080/70474
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'xmlserializer')
-rw-r--r-- | xmlserializer/XmlMemoryDocSink.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlserializer/XmlMemoryDocSink.cpp b/xmlserializer/XmlMemoryDocSink.cpp index 430ae1d..6318496 100644 --- a/xmlserializer/XmlMemoryDocSink.cpp +++ b/xmlserializer/XmlMemoryDocSink.cpp @@ -27,7 +27,7 @@ #define base CXmlDocSink CXmlMemoryDocSink::CXmlMemoryDocSink(IXmlSink* pXmlSink): - _pXmlSink(pXmlSink) + _pXmlSink(pXmlSink) { } @@ -38,7 +38,5 @@ bool CXmlMemoryDocSink::doProcess(CXmlDocSource& xmlDocSource, CXmlSerializingCo xmlDocSource.getRootElement(docElement); // Load the structure from the XML Sink - _pXmlSink->fromXml(docElement, serializingContext); - - return true; + return _pXmlSink->fromXml(docElement, serializingContext); } |