fix a bug that custom ns prefix only applied on single slash

now also applied to double slash, which is commonly used in xml files