if ( findConcretePropertyType( propName, activeDecl ) != null ) { while ( declIter.hasNext() && findConcretePropertyType( propName, activeDecl ) == null ) { if ( !gmlStreamReader.getLaxMode() && propOccurences < activeDecl.getMinOccurs() ) { String msg = null; propOccurences = 0; if ( findConcretePropertyType( propName, activeDecl ) == null ) { String msg = Messages.getMessage( "ERROR_PROPERTY_UNEXPECTED", propName, type.getName() ); throw new XMLParsingException( xmlStream, msg ); Property property = parseProperty( xmlStream, findConcretePropertyType( propName, activeDecl ), activeCRS ); if ( property != null ) {
LOG.debug( "- property '" + propName + "'" ); if ( featureReader.findConcretePropertyType( propName, activeDecl ) != null ) { while ( declIter.hasNext() && featureReader.findConcretePropertyType( propName, activeDecl ) == null ) { if ( propOccurences < activeDecl.getMinOccurs() ) { String msg = null; propOccurences = 0; if ( featureReader.findConcretePropertyType( propName, activeDecl ) == null ) { String msg = Messages.getMessage( "ERROR_PROPERTY_UNEXPECTED", propName, ft.getName() ); throw new XMLParsingException( xmlStream, msg ); PropertyType pt = featureReader.findConcretePropertyType( propName, activeDecl ); if ( pt instanceof FeaturePropertyType ) { Property property = featureReader.parseProperty( xmlStream, pt, activeCRS );