Minor, but you could use `ol.format.XSD.readNonNegativeIntegerString()` instead of `parseInt()` here.