// Initialize this dtd reader. public void Init (XmlParserInput input, XmlResolver resolver) { base.ErrorHandler = input.ErrorHandler; this.input = new XmlDTDParserInput(input, context.NameTable); this.resolver = resolver; }
// Constructor. public XmlDTDParserInput (XmlParserInput input, XmlNameTable nameTable) : base(nameTable, null, input.ErrorHandler) { this.input = input; this.peValue = null; this.pePosition = -1; this.scanForPE = true; this.parameterEntities = new PEManager (nameTable, input.ErrorHandler); #if !ECMA_COMPAT this.valid = true; this.started = false; #endif base.logger = null; }
// Constructor. public PEManager(XmlNameTable nameTable, ErrorHandler error) : base(error) { table = new Hashtable(); input = new XmlParserInput(null, nameTable, error); }