while (Utilities.isNCNameChar(c.charCodeAt(0))) {
                name += c;
                c = s.charAt(pos++);
            }