Index: src/main/java/org/exolab/castor/xml/UnmarshalHandler.java =================================================================== --- src/main/java/org/exolab/castor/xml/UnmarshalHandler.java (revision 6807) +++ src/main/java/org/exolab/castor/xml/UnmarshalHandler.java (working copy) @@ -2678,16 +2678,14 @@ int index = atts.getIndex(name, namespace); - + String attValue = null; if (index >= 0) { + attValue = atts.getValue(index); processedAtts[index] = true; } - //-- otherwise...for now just continue, this code needs to - //-- change when we upgrade to new event API - else continue; try { - processAttribute(name, namespace, atts.getValue(index), descriptor, classDesc, object); + processAttribute(name, namespace, attValue, descriptor, classDesc, object); } catch(java.lang.IllegalStateException ise) { String err = "unable to add attribute \"" + name + "\" to '";