Dtd.cxx revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __GNUG__
#pragma implementation
#endif
#include "splib.h"
#include "Dtd.h"
#include "Syntax.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
nElementType_(0),
{
}
{
if (indexP) {
return 1;
}
return 0;
return 1;
}
{
}
}
{
// If the new default entity was defined in a DTD, then
// any defaulted entities must have come from an LPD
// on the first pass, in which case we shouldn't replace them.
// Otherwise we need to replace all the defaulted entities.
if (entity->declInActiveLpd()) {
{
for (;;) {
break;
e->setDefaulted();
e->generateSystemId(parser);
}
}
}
{
for (;;) {
if (e.isNull())
break;
}
}
}
}
#ifdef SP_NAMESPACE
}
#endif