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]

Reply via email to