if(start >= end) return end;
if(start > data.length) return data.length;
// char [] value = CharsUtil.cutAndTrim(data, start, Math.min(end, data.length));
char [] value = cutAndTrim(data, start, Math.min(end, data.length), replaces);
Name name;
if(value.length < 1) return end;
if(type != TypeToken.TAG){
if(type == TypeToken.DOCTYPE) {
name = Name.DOCTYPE;