aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/aggregate-include.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/hybrid/aggregate-include.hxx')
-rw-r--r--xsde/cxx/hybrid/aggregate-include.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xsde/cxx/hybrid/aggregate-include.hxx b/xsde/cxx/hybrid/aggregate-include.hxx
index 01ec3c9..fad7638 100644
--- a/xsde/cxx/hybrid/aggregate-include.hxx
+++ b/xsde/cxx/hybrid/aggregate-include.hxx
@@ -152,6 +152,7 @@ namespace CXX
schemas_.insert (s);
SemanticGraph::Path path (s->used_begin ()->path ());
+ path.normalize ();
// Try to use the portable representation of the path. If that
// fails, fall back to the native representation.
@@ -159,11 +160,11 @@ namespace CXX
NarrowString path_str;
try
{
- path_str = path.string ();
+ path_str = path.posix_string ();
}
catch (SemanticGraph::InvalidPath const&)
{
- path_str = path.native_file_string ();
+ path_str = path.string ();
}
String inc_path (hxx_expr->replace (path_str));