summaryrefslogtreecommitdiffstats
path: root/axiom/src/om
diff options
context:
space:
mode:
Diffstat (limited to 'axiom/src/om')
-rw-r--r--axiom/src/om/om_stax_builder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/axiom/src/om/om_stax_builder.c b/axiom/src/om/om_stax_builder.c
index 892a46c..aece97e 100644
--- a/axiom/src/om/om_stax_builder.c
+++ b/axiom/src/om/om_stax_builder.c
@@ -764,7 +764,7 @@ axiom_stax_builder_next(
break;
}
}
- while(!node);
+ while(!node && !axiom_node_is_complete(om_builder->root_node, env));
return node;
}