Check possible URI when parsing name.Fix #1