aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/elements.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/elements.cxx')
-rw-r--r--xsde/cxx/elements.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xsde/cxx/elements.cxx b/xsde/cxx/elements.cxx
index f8d7132..86d29e1 100644
--- a/xsde/cxx/elements.cxx
+++ b/xsde/cxx/elements.cxx
@@ -112,6 +112,7 @@ namespace CXX
Context::
Context (std::wostream& o,
SemanticGraph::Schema& root,
+ SemanticGraph::Path const& path,
Char const* name_key,
NarrowString const& char_type__,
NarrowString const& char_encoding__,
@@ -127,6 +128,7 @@ namespace CXX
Containers::Vector<NarrowString> const& reserved_name)
: os (o),
schema_root (root),
+ schema_path (schema_path_),
ename_key (ename_key_),
char_type (char_type_),
char_encoding (char_encoding_),
@@ -138,6 +140,7 @@ namespace CXX
inst_exp (inst_exp_),
inl (inl_),
ns_mapping_cache (ns_mapping_cache_),
+ schema_path_ (path),
xs_ns_ (0),
ename_key_ (name_key),
char_type_ (char_type__),
@@ -297,6 +300,8 @@ namespace CXX
if (s.names_begin () != s.names_end ())
path = u.path ();
}
+ else
+ path = schema_path;
String pair;