read xml file uml format extract persist version number root tag param input stream stream point xml file argo uml releas number open except error releas version input stream input stream open except buffer reader reader reader buffer reader input stream reader input stream argo encod version line reader read line version line trim start version version line reader read line version line open except fail releas version tag version line version line trim end version line index version version line trim substr end io except open except number format except open except input stream input stream close reader reader close io except failur 