Hi!
The new Expat 1.95.6 is uncompilable, if XML_DTD
macro is not defined. More exactly, the problem is in the
xmlparse.c file, line #616:
------------------
#ifdef XML_DTD
#define isParamEntity (parser->m_isParamEntity)
#define useForeignDTD (parser->m_useForeignDTD)
#define paramEntityParsing (parser-
>m_paramEntityParsing)
#endif /* XML_DTD */
- #define parsing \
- (parentParser \
- ? \
- (isParamEntity \ // <<<<< !AB
- ? \
- (processor != externalParEntInitProcessor) \
-
- \
- (processor != externalEntityInitProcessor)) \
- \
(processor != prologInitProcessor))
--------------------
Look at the line marked as "<<<<< !AB". The
isParamEntity macro exists only if XML_DTD is defined,
that is why this file can't be compiled in this case.
Logged In: YES
user_id=290026
Yes, that is a bug.
Fixed in xmlparse.c rev. 1.108.
Leave open for Fred, in case he wants to add a comment.