Revision 28543 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteClient/wfs/schema/XMLTypesFactory.java

View differences:

XMLTypesFactory.java
145 145
		while(it.hasNext()){
146 146
			String key = (String)it.next();
147 147
			String[] parts = key.split(":");
148
			if (parts.length > 1){
148
			if (parts.length == 1){
149
				if (parts[0].compareTo(typeAux.toUpperCase())==0){
150
					return (IXMLType)types.get(key);
151
				}
152
			}else if (parts.length > 1){
149 153
				if (parts[parts.length-1].compareTo(typeAux.toUpperCase())==0){
150 154
					return (IXMLType)types.get(key);
151 155
				}

Also available in: Unified diff