this.root = stack.peek();
this.provider = mapping.provider;
this.stack = new StackImpl();
boolean marshalled = false;
XSModel model = loadSchema(mapping.schemaUrl);
XSNamedMap components = model.getComponents(XSConstants.ELEMENT_DECLARATION);
for(int i = 0; i < components.getLength(); ++i)
{
XSElementDeclaration element = (XSElementDeclaration)components.item(i);
marshalled =
marshalElement(element.getNamespace(),