Revision 15627 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/writers/gml/GMLFileCreator.java

View differences:

GMLFileCreator.java
118 118
			
119 119
			for (int i=0 ; i<attributes.length ; i++){
120 120
				String attributeName = this.attributes[i].getFieldName();
121
				String attibuteValue = StringUtilities.replace(attributes[i].toString(),"&","&amp;");
122
				writer.write(getAttribute(attributeName,attibuteValue));
123
			}
124
			
121
				if (!(attributeName.compareTo(GMLSchemaCreator.GML_GEOMETRY) == 0)){
122
					String attibuteValue = StringUtilities.replace(attributes[i].toString(),"&","&amp;");
123
					writer.write(getAttribute(attributeName,attibuteValue));
124
				}
125
			}			
125 126
			writer.write(getEndFeature());	
126 127
	}
127 128
	

Also available in: Unified diff