static StreamTokenizer makeTokenizer(String tagValue){
  StreamTokenizer tokenizer=new StreamTokenizer(new StringReader(tagValue));
  tokenizer.resetSyntax();
  tokenizer.wordChars('A','Z');
  tokenizer.wordChars('a','z');
  tokenizer.wordChars('0','9');
  tokenizer.wordChars('-','-');
  tokenizer.wordChars('_','_');
  tokenizer.wordChars('.','.');
  tokenizer.wordChars('<','<');
  tokenizer.wordChars('>','>');
  tokenizer.quoteChar('\'');
  tokenizer.quoteChar('"');
  tokenizer.whitespaceChars(' ',' ');
  tokenizer.whitespaceChars('\t','\t');
  tokenizer.whitespaceChars('\n','\n');
  tokenizer.whitespaceChars('\r','\r');
  tokenizer.eolIsSignificant(false);
  return tokenizer;
}

static StreamTokenizer makeTokenizer ( String tagValue ) { StreamTokenizer tokenizer = new StreamTokenizer ( new StringReader ( tagValue ) ) ; tokenizer . resetSyntax ( ) ; tokenizer . wordChars ( 'A' , 'Z' ) ; tokenizer . wordChars ( 'a' , 'z' ) ; tokenizer . wordChars ( '0' , '9' ) ; tokenizer . wordChars ( '-' , '-' ) ; tokenizer . wordChars ( '_' , '_' ) ; tokenizer . wordChars ( '.' , '.' ) ; tokenizer . wordChars ( '<' , '<' ) ; tokenizer . wordChars ( '>' , '>' ) ; tokenizer . quoteChar ( '\'' ) ; tokenizer . quoteChar ( '"' ) ; tokenizer . whitespaceChars ( ' ' , ' ' ) ; tokenizer . whitespaceChars ( '\t' , '\t' ) ; tokenizer . whitespaceChars ( '\n' , '\n' ) ; tokenizer . whitespaceChars ( '\r' , '\r' ) ; tokenizer . eolIsSignificant ( false ) ; return tokenizer ; }
create a streamtokenizer suitable for parsing the tag text .
