onDoctype(doctype) {
        doctype.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g, (match, prefix, uri) => {
            this.saxStream._parser.ENTITIES[prefix] = uri;
            return '';
        });
    }
/**
     * Fetch local DOCTYPE ENTITY's and make the parser recognise them.
     * @param {string} doctype The read doctype.
     */
Fetch local DOCTYPE ENTITY's and make the parser recognise them.
@param {string} doctype The read doctype.
Fetch local DOCTYPE ENTITY ' s and make the parser recognise them . @param { string } doctype The read doctype .
onDoctype(doctype) {
        doctype.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g, (match, prefix, uri) => {
            this.saxStream._parser.ENTITIES[prefix] = uri;
            return '';
        });
    }
onDoctype ( doctype ) { doctype . replace ( / <!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*> / g , ( match , prefix , uri ) => { this . saxStream . _parser . ENTITIES [ prefix ] = uri ; return '' ; } ) ; }
Fetch local DOCTYPE ENTITY's and make the parser recognise them.
Fetch local DOCTYPE ENTITY ' s and make the parser recognise them .