if ( ns.equals( targetNs ) ) { XSNamedMap elements = nsItem.getComponents( ELEMENT_DECLARATION ); for ( int j = 0; j < elements.getLength(); j++ ) { XSElementDeclaration xsElement = (XSElementDeclaration) elements.item( j ); XSNamedMap types = nsItem.getComponents( TYPE_DEFINITION ); for ( int j = 0; j < types.getLength(); j++ ) { XSTypeDefinition xsType = (XSTypeDefinition) types.item( j );
XSNamedMap map = data.getComponents(XSConstants.ELEMENT_DECLARATION); for (int i = 0; i < map.getLength(); i++) { stack.push(new StackItem(map.item(i), item));