CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_end,eHTMLTag_unknown, nsLiteralString((PRUnichar *) name));
typedef const PRUnichar* const_PRUnichar_ptr; CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_end,eHTMLTag_unknown, nsDependentString(const_PRUnichar_ptr(name)));
void Tokenizer_HandleEndElement(void *userData, const XML_Char *name) {  XMLParserState* state = (XMLParserState*) userData;  CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_end,eHTMLTag_unknown, nsLiteralString((PRUnichar *) name));  if(theToken) {    nsExpatTokenizer::AddToken(theToken, NS_OK, state->tokenDeque, state->tokenAllocator);  }  else{    //THROW A HUGE ERROR IF WE CANT CREATE A TOKEN!  }}