Update XmlMetadataReader.java

fixed a bug that was setting wrong value to field's finalPosition, when using xml descriptor.