diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/deployment/desc_builder.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/deployment/desc_builder.c b/src/core/deployment/desc_builder.c index a6fde18..dbdbdbd 100644 --- a/src/core/deployment/desc_builder.c +++ b/src/core/deployment/desc_builder.c @@ -188,16 +188,17 @@ axis2_desc_builder_build_om( */ document = axiom_stax_builder_get_document(builder, env); - /** + /** + get root element , building starts hear + */ + + desc_builder->root = axiom_document_get_root_element(document, env); + /** * In description building we don't want defferred building. So build * the whole tree at once */ axiom_document_build_all(document, env); - - /** - get root element , building starts hear - */ - desc_builder->root = axiom_document_get_root_element(document, env); + /** We have built the whole document. So no need of keeping the builder. */ |