Fixed bug in QName parsing