Class MarkupDeclarationOpen
MarkupDeclarationOpen
Diese Methode bildet den Status 8.2.4.45 Markup declaration open state der HTML-Spezifikation ab.
- Alvine\Core\Alvine
- Alvine\Markup\Html\Tokenizer\State
- Alvine\Markup\Html\Tokenizer\State\MarkupDeclarationOpen
Namespace: Alvine\Markup\Html\Tokenizer\State
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: If the next two characters are both "-" (U+002D) characters, consume those two characters, create a comment token whose data is the empty string, and switch to the comment start state. Otherwise, if the next seven characters are an ASCII case-insensitive match for the word "DOCTYPE", then consume those characters and switch to the DOCTYPE state. Otherwise, if there is an adjusted current node and it is not an element in the HTML namespace and the next seven characters are a case-sensitive match for the string "[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT SQUARE BRACKET character before and after), then consume those characters and switch to the CDATA section state. Otherwise, this is a parse error. Switch to the bogus comment state. The next character that is consumed, if any, is the first character that will be in the comment.
Link: alvine.io
Located at tokenizer/state/MarkupDeclarationOpen.class.php
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: If the next two characters are both "-" (U+002D) characters, consume those two characters, create a comment token whose data is the empty string, and switch to the comment start state. Otherwise, if the next seven characters are an ASCII case-insensitive match for the word "DOCTYPE", then consume those characters and switch to the DOCTYPE state. Otherwise, if there is an adjusted current node and it is not an element in the HTML namespace and the next seven characters are a case-sensitive match for the string "[CDATA[" (the five uppercase letters "CDATA" with a U+005B LEFT SQUARE BRACKET character before and after), then consume those characters and switch to the CDATA section state. Otherwise, this is a parse error. Switch to the bogus comment state. The next character that is consumed, if any, is the first character that will be in the comment.
Link: alvine.io
Located at tokenizer/state/MarkupDeclarationOpen.class.php
public
Alvine\Markup\Html\Tokenizer\MarkupDeclarationOpen
|
__construct()
|
$tokenizer
|