U+0000 is now a parse error in bogus comment and bogus DOCTYPE states
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia leggendo la pull request 2939 di WHATWG HTML e riproduci l’esempio nell’HTML5 parser checker con \u003c!%00\u003e. Traccia dove viene gestito U+0000 in preprocessing, tokenization e tree building. Il lavoro è completo quando il parser segue la gestione specificata per gli stati bogus comment e bogus DOCTYPE, incluso il comportamento parse-error previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Consider implementing https://github.com/whatwg/html/pull/2939
Experimenting with https://checker.html5.org/parsetree/?parser=html5&content=<!%00>&submit=Print+Tree it seems currently the U+0000 check is in the preprocessing step, and not in the tokenizer. In the spec it was removed from the preprocessing since it needs different handling in the tokenizer/tree builder for different contexts, IIRC. But with the latest spec change it ought to be equivalent in terms of how many errors are produced for a given input, the difference could be relative order of errors.
Anyway I thought I'd file this as a heads-up at least.
- Lingua principale
- Java
- Stelle
- 65
- Fork
- 29
- Merge medio
- 11g 21h
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di validator/htmlparser
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
validator/htmlparser#98 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
validator/htmlparser#96 · 1 commento · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
validator/htmlparser#95 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
validator/htmlparser#87 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
validator/htmlparser#79 ·
Tutte le issue di validator/htmlparser
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Aperta1.0.0-alpha2 Type/Improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/dpdp-accelerator#272 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
apache/rocketmq-dashboard#4860 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·