From f3e67f694188a16e426e92fda846998fd26db50d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Jan 2010 15:14:06 +0200 Subject: Include file component in regex strings for schema being compiled --- xsd/cxx/tree/validator.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xsd/cxx/tree/validator.cxx') diff --git a/xsd/cxx/tree/validator.cxx b/xsd/cxx/tree/validator.cxx index 057e617..1f05e65 100644 --- a/xsd/cxx/tree/validator.cxx +++ b/xsd/cxx/tree/validator.cxx @@ -26,6 +26,7 @@ namespace CXX { public: ValidationContext (SemanticGraph::Schema& root, + SemanticGraph::Path const& path, CLI::Options const& options, const WarningSet& disabled_warnings, Counts const& counts, @@ -33,6 +34,7 @@ namespace CXX Boolean& valid_) : Context (std::wcerr, root, + path, options, counts, generate_xml_schema, @@ -528,13 +530,13 @@ namespace CXX Boolean Validator:: validate (CLI::Options const& options, SemanticGraph::Schema& schema, - SemanticGraph::Path const&, + SemanticGraph::Path const& path, const WarningSet& disabled_warnings, Counts const& counts) { Boolean valid (true); ValidationContext ctx ( - schema, options, disabled_warnings, counts, false, valid); + schema, path, options, disabled_warnings, counts, false, valid); // // -- cgit v1.1