diff options
Diffstat (limited to 'xmlserializer/XmlFileDocSource.h')
-rw-r--r-- | xmlserializer/XmlFileDocSource.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xmlserializer/XmlFileDocSource.h b/xmlserializer/XmlFileDocSource.h index 7a8bb8d..b8b0c6b 100644 --- a/xmlserializer/XmlFileDocSource.h +++ b/xmlserializer/XmlFileDocSource.h @@ -47,20 +47,24 @@ public: * @param[in] strRootElementType a string containing the root element type * @param[in] strRootElementName a string containing the root element name * @param[in] strNameAttributeName a string containing the name of the root name attribute + * @param[in] bValidateWithSchema a boolean that toggles schema validation */ CXmlFileDocSource(const string& strXmlInstanceFile, const string& strXmlSchemaFile, const string& strRootElementType, const string& strRootElementName, - const string& strNameAttrituteName); + const string& strNameAttrituteName, + bool bValidateWithSchema); /** * Constructor * * @param[in] strXmlInstanceFile a string containing the path to the xml file * @param[in] strXmlSchemaFile a string containing the path to the schema file * @param[in] strRootElementType a string containing the root element type + * @param[in] bValidateWithSchema a boolean that toggles schema validation */ - CXmlFileDocSource(const string& strXmlInstanceFile, const string& strXmlSchemaFile, const string& strRootElementType); + CXmlFileDocSource(const string& strXmlInstanceFile, const string& strXmlSchemaFile, const string& strRootElementType, + bool bValidateWithSchema); /** * CXmlDocSource method implementation. |