parser_(parser), stage_(0),
gatheringContent_(0), startAgain_(0), haveLinkProcess_(0),
allocator_(maxSize(sizes, SIZEOF(sizes)), 50),
- nullHandler_(mgr), docName_(docName)
+ nullHandler_(mgr), docName_(docName), linkAttributes_(NULL)
{
eventHandler_ = director.arcEventHandler(notation, docName, table);
if (!eventHandler_)
ArcProcessor::ArcProcessor()
: errorIdref_(1), notationSetArch_(0), docHandler_(0), arcAuto_(1),
- arcDtdIsParam_(0)
+ arcDtdIsParam_(0), valid_(false), mgr_(NULL), director_(NULL), docIndex_(0)
{
}
for (int i = 0; i < nNoSpec; i++)
noSpec[i] = invalidAtt;
linkAtts = 0;
+ suppressFlags = 0;
}
void ArcProcessor::MetaMapCache::clear()
}
ArcProcessor::MetaMap::MetaMap()
-: attributed(0)
+: attributed(0), suppressFlags(0)
{
}
}
AttributeList::AttributeList()
-: nSpec_(0), conref_(0)
+: nSpec_(0), conref_(0), nIdrefs_(0), nEntityNames_(0)
{
}
#endif
CharsetDeclRange::CharsetDeclRange()
+: descMin_(0),
+ count_(0),
+ type_(unused),
+ baseMin_(0)
{
}
CharsetDeclRange::CharsetDeclRange(WideChar descMin, Number count)
: descMin_(descMin),
count_(count),
- type_(unused)
-
+ type_(unused),
+ baseMin_(0)
{
}
: descMin_(descMin),
count_(count),
type_(string),
- str_(str)
+ str_(str),
+ baseMin_(0)
{
}
#endif
ContentState::ContentState()
-: documentElementContainer_(StringC(), size_t(-1))
+: documentElementContainer_(StringC(), size_t(-1)),
+totalExcludeCount_(0),
+tagLevel_(0),
+netEnablingCount_(0),
+lastEndedElementType_(NULL)
{
}
AndModelGroup::AndModelGroup(NCVector<Owner<ContentToken> > &v,
ContentToken::OccurrenceIndicator oi)
-: ModelGroup(v, oi)
+: ModelGroup(v, oi), andDepth_(0), andIndex_(0), andGroupIndex_(0),
+ andAncestor_(NULL)
{
}
}
ContentToken::ContentToken(OccurrenceIndicator oi)
-: occurrenceIndicator_(oi)
+: occurrenceIndicator_(oi),
+inherentlyOptional_(0)
{
}
LeafContentToken::LeafContentToken(const ElementType *element,
OccurrenceIndicator oi)
: element_(element), ContentToken(oi), isFinal_(0), orGroupMember_(0),
- requiredIndex_(size_t(-1))
+ requiredIndex_(size_t(-1)), leafIndex_(0), typeIndex_(0), pcdataTransitionType_(0),
+ simplePcdataTransition_(NULL)
{
}
}
CompiledModelGroup::CompiledModelGroup(Owner<ModelGroup> &modelGroup)
-: modelGroup_(modelGroup.extract())
+: modelGroup_(modelGroup.extract()), andStateSize_(0), containsPcdata_(false)
{
}
}
MatchState::MatchState()
-: andState_(0)
+: andState_(0), pos_(NULL), minAndDepth_(0)
{
}
class SP_API AndInfo {
public:
- AndInfo() { }
+ AndInfo() : andAncestor(NULL), andGroupIndex(0) { }
const AndModelGroup *andAncestor;
unsigned andGroupIndex;
Vector<Transition> follow;
: InputSource(origin, 0, 0),
mayRewind_(mayRewind),
mayNotExist_(mayNotExist),
- sov_(parsedSysid.size())
+ sov_(parsedSysid.size()),
+ readSize_(0),
+ decoder_(NULL),
+ recordType_(unknown),
+ zapEof_(false)
{
init();
info_ = new ExternalInfoImpl(parsedSysid);
: currentIndex_(0), position_(parsedSysid.size())
{
parsedSysid.swap(parsedSysid_);
- if (parsedSysid_.size() > 0)
+ if (parsedSysid_.size() > 0) {
notrack_ = parsedSysid_[0].notrack;
+ } else {
+ notrack_ = false;
+ }
}
StringC &ExternalInfoImpl::id(size_t i)
}
PublicId::PublicId()
-: formal_(0)
+: formal_(0), ownerType_(ISO), textClass_(CAPACITY), unavailable_(false), haveDisplayVersion_(false)
{
}
class GroupToken {
public:
- GroupToken() { }
+ GroupToken() : type(invalid) { }
enum Type {
invalid,
nameToken,
InputSource::InputSource(InputSourceOrigin *origin, const Char *start,
const Char *end)
: origin_(origin), start_(start), end_(end), cur_(start), accessError_(0),
- startLocation_(origin, 0), multicode_(0), scanSuppress_(0)
+ startLocation_(origin, 0), multicode_(0), scanSuppress_(0),
+ scanSuppressSingle_(false), scanSuppressIndex_(0)
{
}
#endif
Location::Location()
+: index_(0)
{
}
RTTI_DEF0(ExternalInfo)
NamedCharRef::NamedCharRef()
+: refStartIndex_(0), refEndType_(endOmitted)
{
}
#ifndef SP_NO_MESSAGE_TEXT
text_(text),
#endif
- number_(number)
+ number_(number),
+ spare_(0)
{
}
}
Message::Message()
+: type(NULL)
{
}
Message::Message(int nArgs)
-: args(nArgs)
+: args(nArgs), type(NULL)
{
}
IosOutputCharStream::IosOutputCharStream()
-: buf_(0), byteStream_(0)
+: buf_(0), byteStream_(0), encoder_(NULL)
{
}
#endif
OutputState::OutputState()
+: re_(0)
{
init();
}
}
OutputStateLevel::OutputStateLevel()
-: state(OutputState::afterStartTag)
+: state(OutputState::afterStartTag), reSerial(0)
{
}
class Param {
public:
- Param() { }
+ Param() : type(invalid), lita(false) { }
typedef unsigned char Type;
enum {
invalid,
currentMarkup_(0),
cancelPtr_(&dummyCancel_),
finalPhase_(finalPhase),
- hadAfdrDecl_(0)
+ hadAfdrDecl_(0),
+ pass2StartOffset_(0),
+ phase_(noPhase),
+ specialParseMode_()
{
}
PosixBaseStorageObject::PosixBaseStorageObject(int fd, Boolean mayRewind)
: fd_(fd), eof_(0),
- RewindStorageObject(mayRewind, mayRewind && canSeek(fd))
+ RewindStorageObject(mayRewind, mayRewind && canSeek(fd)),
+ startOffset_(0)
{
}
PosixBaseStorageObject(fd, mayRewind),
suspended_(0),
filename_(filename),
- cfilename_(cfilename)
+ cfilename_(cfilename),
+ suspendPos_(0),
+ suspendFailedMessage_(NULL),
+ suspendErrno_(0)
{
}
RewindStorageObject::RewindStorageObject(Boolean mayRewind, Boolean canSeek)
: mayRewind_(mayRewind), canSeek_(canSeek),
- savingBytes_(mayRewind && canSeek), readingSaved_(0)
+ savingBytes_(mayRewind && canSeek), readingSaved_(0),
+ nBytesRead_(0)
{
}
SOEntityCatalog::SOEntityCatalog(Ptr<ExtendEntityManager> em)
: em_(em), catalogNumber_(0), haveSgmlDecl_(0), haveDocument_(0),
- haveCurrentBase_(0)
+ haveCurrentBase_(0), sgmlDeclBaseNumber_(0), documentBaseNumber_(0)
{
}
#endif
SdText::SdText()
+: lita_(false)
{
}
}
SdTextItem::SdTextItem()
+: index(0)
{
}
outputId_((outputFlags & outputId) != 0),
outputNotationSysid_((outputFlags & outputNotationSysid) != 0),
outputIncluded_((outputFlags & outputIncluded) != 0),
- haveData_(0), lastSos_(0)
+ haveData_(0), lastSos_(0), lastLineno_(0)
{
os_->setEscaper(escape);
}
}
ShortReferenceMap::ShortReferenceMap(const StringC &name)
-: Named(name)
+: Named(name), used_(false)
{
}
categoryTable_(otherCategory),
shuncharControls_(0),
multicode_(0),
- markupScanTable_(MarkupScan::normal)
+ markupScanTable_(MarkupScan::normal),
+ namecaseGeneral_(false),
+ namecaseEntity_(false)
{
static const char lcletter[] = "abcdefghijklmnopqrstuvwxyz";
static const char ucletter[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
}
TextItem::TextItem()
+: type(data), c(0), index(0)
{
}
class Trie {
public:
- Trie() : next_(0), nCodes_(0) { }
+ Trie() : next_(0), nCodes_(0), token_(0), tokenLength_(0), priority_(Priority::data) { }
Trie(const Trie &);
~Trie();
Trie &operator=(const Trie &);
class BlankTrie : public Trie {
public:
- BlankTrie() { }
+ BlankTrie() : additionalLength_(0), maxBlanksToScan_(0) { }
Boolean codeIsBlank(EquivCode c) const { return codeIsBlank_[c]; }
// maximum number of blanks to scan (minimum is 0)
size_t maxBlanksToScan() const { return maxBlanksToScan_; }