Revision 18773 trunk/libraries/libGPE-GML/src/org/gvsig/gpe/xml/GPEXmlSchemaDocument.java

View differences:

GPEXmlSchemaDocument.java
106 106
			String attValue = parser.getAttributeValue(i);
107 107
								
108 108
			//it splits the attributes names at the both sides from ":"
109
			String[] ns = attName.split(":");
109
			//String[] ns = attName.split(":");
110
			String[] ns = org.gvsig.gpe.gml.utils.StringUtils.splitString(attName,":");
110 111
			
111 112
			//if is the targetNamespace declaration
112 113
			if ((ns.length == 1) && (ns[0].compareTo(GMLTags.XML_NAMESPACE)==0)){

Also available in: Unified diff