What encoding is your document in? It must indicate that it is in 8859-1 if you are going to use characters from that encoding. -------------- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -----Original Message----- From: Stan [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 10:34 AM To: [EMAIL PROTECTED] Subject: dtdvalidator doesn't find copyright character Hi, In Xalan C++ 1.1 (Xerces C++ 1.4), when I attempt to parse a copyright character (Latin-1 0xA9), it returns NULL from the DTD Validator in XMLScanner2.cpp: XMLEntityDecl* DTDValidator::findEntityDecl(const XMLCh* const entName , const bool isPE) { if (isPE) return fPEntityDeclPool->getByKey(entName); return fEntityDeclPool->getByKey(entName); } I noticed that the following decls at the top of the file (dtdvalidator.cpp) have been removed by change #17, is there any way I can find more information about this change ? Thanks. static const XMLCh gAmp[] = { chLatin_a, chLatin_m, chLatin_p, chNull }; static const XMLCh gLT[] = { chLatin_l, chLatin_t, chNull }; static const XMLCh gGT[] = { chLatin_g, chLatin_t, chNull }; static const XMLCh gQuot[] = { chLatin_q, chLatin_u, chLatin_o, chLatin_t, chNull }; static const XMLCh gApos[] = { chLatin_a, chLatin_p, chLatin_o, chLatin_s, chNull }; -Stan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
