private void BeginElement(string prefix, string name, string nspace, bool empty) {
Debug.Assert(this.attributeCount == 0);
this.currentInfo.NodeType = XmlNodeType.Element;
this.currentInfo.Prefix = prefix;
this.currentInfo.LocalName = name;
this.currentInfo.NamespaceURI = nspace;
this.currentInfo.Depth = this.recordDepth;
this.currentInfo.IsEmptyTag = empty;
this.scopeManager.PushScope(name, nspace, prefix);
}