diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-12 15:14:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-12 15:14:06 +0200 |
commit | f3e67f694188a16e426e92fda846998fd26db50d (patch) | |
tree | 8479968d3e677af5858e7bda565674bf85d8fef8 /xsd/cxx/tree/validator.cxx | |
parent | 8e6517dd89899e8fd3b8d5b314bcdf50bd3296cc (diff) |
Include file component in regex strings for schema being compiled
Diffstat (limited to 'xsd/cxx/tree/validator.cxx')
-rw-r--r-- | xsd/cxx/tree/validator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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); // // |