(parser, message)
| 26612 | } |
| 26613 | |
| 26614 | function strictFail (parser, message) { |
| 26615 | if (typeof parser !== 'object' || !(parser instanceof SAXParser)) { |
| 26616 | throw new Error('bad call to strictFail') |
| 26617 | } |
| 26618 | if (parser.strict) { |
| 26619 | error(parser, message) |
| 26620 | } |
| 26621 | } |
| 26622 | |
| 26623 | function newTag (parser) { |
| 26624 | if (!parser.strict) parser.tagName = parser.tagName[parser.looseCase]() |
no test coverage detected