예제 #1
0
        /* ILexicalHandler */

        public virtual void StartDtd(string name, string publicId, string systemId)
        {
            if (lexicalHandler != null)
            {
                lexicalHandler.StartDtd(name, publicId, systemId);
            }
        }
예제 #2
0
        internal void doctypeDecl(string name, string publicId, string systemId)
        {
            lexicalHandler.StartDtd(name, publicId, systemId);

            // ... the "name" is a declaration and should be given
            // to the DeclHandler(but sax2 doesn't).

            // the IDs for the external subset are lexical details,
            // as are the contents of the internal subset; but sax2
            // doesn't provide the internal subset "pre-parse"
        }