From 261891fdfd4f7fb9f113846150dd24607963c6fd Mon Sep 17 00:00:00 2001 From: nandika Date: Wed, 30 Jun 2010 11:16:07 +0000 Subject: building error corrected git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@959265 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/deployment/desc_builder.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src') 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. */ -- cgit v1.1-32-gdbae