Stan wrote:

> 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);
> }
>

Do you have more detail such as sample program to demonstrate your problem?

>
>     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
>

This change is part of various update for Schema work.  This is done AFTER
Xerces C++ 1.4, so not really related to your problem above.

>
> ---------------------------------------------------------------------
> 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]

Reply via email to