// Loads the XML document from the specified XmlReader. public virtual void Load(XmlReader reader) { try { IsLoading = true; actualLoadingStatus = true; RemoveAll(); fEntRefNodesPresent = false; fCDataNodesPresent = false; XmlLoader loader = new XmlLoader(); loader.Load(this, reader, preserveWhitespace); } finally { IsLoading = false; actualLoadingStatus = false; } }
// Loads the XML document from the specified XmlReader. public virtual void Load(XmlReader reader) { try { IsLoading = true; _actualLoadingStatus = true; RemoveAll(); fEntRefNodesPresent = false; fCDataNodesPresent = false; XmlLoader loader = new XmlLoader(); loader.Load(this, reader, _preserveWhitespace); } finally { IsLoading = false; _actualLoadingStatus = false; } }
// Loads the XML document from the specified XmlReader. public virtual void Load( XmlReader reader ) { try { IsLoading = true; actualLoadingStatus = true; RemoveAll(); fEntRefNodesPresent = false; fCDataNodesPresent = false; reportValidity = true; XmlLoader loader = new XmlLoader(); loader.Load( this, reader, preserveWhitespace ); } finally { IsLoading = false; actualLoadingStatus = false; // Ensure the bit is still on after loading a dtd reportValidity = true; } }