xml parser fix and example extension