aboutsummaryrefslogtreecommitdiff
path: root/xsd/processing
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-07 09:41:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-07 09:41:11 +0200
commit67ba09efbc685093da252f8e04d8c588b4f1e3a3 (patch)
tree84778558e171e11c6058e47c3382cce482e6fbf9 /xsd/processing
parentad2343698f84f5f5761880587b75f42ad6737799 (diff)
Update to reflect libxsd-frontend interface changes
Diffstat (limited to 'xsd/processing')
-rw-r--r--xsd/processing/cardinality/processor.cxx6
-rw-r--r--xsd/processing/inheritance/processor.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/xsd/processing/cardinality/processor.cxx b/xsd/processing/cardinality/processor.cxx
index 730c1a6..a47ed96 100644
--- a/xsd/processing/cardinality/processor.cxx
+++ b/xsd/processing/cardinality/processor.cxx
@@ -312,7 +312,7 @@ namespace Processing
i != t.el_map.end (); ++i)
{
ElementInfo& ei (i->second);
- FrontendElements::Context& ctx (ei.element ().context ());
+ SemanticGraph::Context& ctx (ei.element ().context ());
ctx.set ("min", ei.min);
ctx.set ("max", ei.max);
@@ -322,7 +322,7 @@ namespace Processing
i != t.any_map.end (); ++i)
{
AnyInfo& ai (i->second);
- FrontendElements::Context& ctx (ai.any ().context ());
+ SemanticGraph::Context& ctx (ai.any ().context ());
ctx.set ("min", ai.min);
ctx.set ("max", ai.max);
@@ -343,7 +343,7 @@ namespace Processing
virtual Void
traverse (Type& a)
{
- FrontendElements::Context& ctx (a.context ());
+ SemanticGraph::Context& ctx (a.context ());
ctx.set ("min", a.optional_p () ? 0UL : 1UL);
ctx.set ("max", 1UL);
diff --git a/xsd/processing/inheritance/processor.cxx b/xsd/processing/inheritance/processor.cxx
index 318e3e4..6bf307e 100644
--- a/xsd/processing/inheritance/processor.cxx
+++ b/xsd/processing/inheritance/processor.cxx
@@ -110,7 +110,7 @@ namespace Processing
if (!t.named_p () && types_seen_.find (&t) == types_seen_.end ())
{
- FrontendElements::Context& ctx (t.context ());
+ SemanticGraph::Context& ctx (t.context ());
last_xpath_ = xpath (m);