Node n = null;
//<!ATTLIST field name CDATA #REQUIRED>
n = fieldNode.getAttributes().getNamedItem("name");
if (n == null)
throw new SpeedoXMLError("Attribute name for tag field requested.");
String name = n.getNodeValue();
//add the field name to the index
moIndex.fieldNames.add(name);
//try to add the column name(s) to the index
SpeedoField sf = (SpeedoField) moClass.fields.get(name);
if (sf == null)
throw new SpeedoXMLError("The field " + name + " must be defined for the class "
+ moClass.name +".");
if( sf.columns != null && sf.columns.length != 0) {
for(int i = 0; i < sf.columns.length; i++) {
moIndex.columnNames.add(sf.columns[i].name);
}