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/elements.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xsd/cxx/elements.hxx') diff --git a/xsd/cxx/elements.hxx b/xsd/cxx/elements.hxx index afc8229..59938c5 100644 --- a/xsd/cxx/elements.hxx +++ b/xsd/cxx/elements.hxx @@ -148,6 +148,7 @@ namespace CXX public: Context (std::wostream& o, SemanticGraph::Schema& root, + SemanticGraph::Path const& path, StringLiteralMap const* custom_literals_map, NarrowString const& char_type__, NarrowString const& char_encoding__, @@ -166,6 +167,7 @@ namespace CXX Context (Context& c) : os (c.os), schema_root (c.schema_root), + schema_path (c.schema_path), char_type (c.char_type), char_encoding (c.char_encoding), L (c.L), @@ -193,6 +195,7 @@ namespace CXX Context (Context& c, std::wostream& o) : os (o), schema_root (c.schema_root), + schema_path (c.schema_path), char_type (c.char_type), char_encoding (c.char_encoding), L (c.L), @@ -337,6 +340,7 @@ namespace CXX std::wostream& os; SemanticGraph::Schema& schema_root; + SemanticGraph::Path const& schema_path; String& char_type; String& char_encoding; @@ -355,6 +359,8 @@ namespace CXX MappingCache& ns_mapping_cache; private: + SemanticGraph::Path const schema_path_; + SemanticGraph::Namespace* xs_ns_; String char_type_; -- cgit v1.1