Handbook
Glossary
(doctype-system-identifier-double-quoted-state) ( document n/f string ch/f -- document n'/f string )
Vocabulary
html5
Inputs
document
an
object
n/f
an
object
string
an
object
ch/f
an
object
Outputs
document
an
object
n'/f
an
object
string
an
object
Definition
USING:
combinators
kernel
;
IN:
html5
:
(doctype-system-identifier-double-quoted-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
34
=
]
[
drop
after-doctype-system-identifier-state
]
}
{
[
dup
0
=
]
[
drop
unexpected-null-character
65533
pick
push-doctype-system-identifier
doctype-system-identifier-double-quoted-state
]
}
{
[
dup
62
=
]
[
drop
abrupt-doctype-system-identifier
pick
[
force-quirks
]
[
emit-doctype
]
bi
data-state
]
}
{
[
dup
f
=
]
[
drop
eof-in-doctype
pick
[
force-quirks
]
[
emit-doctype
]
[
emit-eof
]
tri
]
}
[
reach
push-doctype-system-identifier
doctype-system-identifier-double-quoted-state
]
}
cond
;