I think the only problem place is "{}nodeLocalName". It may be qualified name with empty ns prefix ("" , "{}nodeLocalName" ) or expanded name with empty ns uri ( "", "nodeLocalName" ). It is interesting how would it be translated?