(Deprecated) IXMLParser2 Interface

 

[Deprecated. Do not use. Superseded by SAX2 API/MSXML 3.0]

This interface is used to set the maximum size limit of XML documents that the parser will parse. A positive integer value can be used to indicate the number of blocks of 1024 characters. If an attempt to read an XML document larger than the specified limit occurs, the method will return error.

interface IXMLParser2 : IXMLParser  
{     
    HRESULT SetMaxXmlSize(  
        [in] ULONG MaxSizeCch);  
  
    HRESULT GetMaxXmlSize(  
        [out] ULONG MaxSizeCch);  
  
}  

The IXMLParser2 interface inherits directly from the IXMLParser interface.