You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strict=False preserves the attribute value correctly, although parser.errors still records the false error. The WHATWG ambiguous ampersand state does not require an error for &raw=1; strict=True incorrectly rejects it.
Full base/optional suites passed locally on macOS with CPython 3.8–3.12: 17,499/23,563 passes per version, retaining existing skips and xfails. Runs used setuptools 70.3.0 and chardet 5.2.0 to isolate separate dependency failures. Additional malformed-reference controls still raised as expected. No hosted test CI result was verified.
Activity
MaciejZet commentedon Oct 25, 2026
Reproduced on 1.1 and master
fd4f032with etree, DOM and lxml:strict=Falsepreserves the attribute value correctly, althoughparser.errorsstill records the false error. The WHATWG ambiguous ampersand state does not require an error for&raw=1;strict=Trueincorrectly rejects it.Full base/optional suites passed locally on macOS with CPython 3.8–3.12: 17,499/23,563 passes per version, retaining existing skips and xfails. Runs used setuptools 70.3.0 and chardet 5.2.0 to isolate separate dependency failures. Additional malformed-reference controls still raised as expected. No hosted test CI result was verified.