• Alexander Barkov's avatar
    Bug#38227 EXTRACTVALUE doesn't work with DTD declarations · 1a8a7854
    Alexander Barkov authored
    Problem:
     XML syntax parser allowed to use quoted strings as attribute names,
     and tried to put them into parser state stack instead of identifiers.
     After that parser failed, if quoted string contained some slash characters.
    Fix:
     - Disallowing quoted strings in regular tags.
     - Allowing quoted string in DOCTYPE declararion, but
     don't push it into parse state stack (just skip it).
    1a8a7854
xml.test 21.9 KB