| 705 |
# |
# |
| 706 |
} else { |
} else { |
| 707 |
!!!parse-error (type => 'nestc'); |
!!!parse-error (type => 'nestc'); |
| 708 |
|
## TODO: Different error type for <aa / bb> than <aa/> |
| 709 |
} |
} |
| 710 |
$self->{state} = 'before attribute name'; |
$self->{state} = 'before attribute name'; |
| 711 |
# next-input-character is already done |
# next-input-character is already done |
| 1085 |
redo A; |
redo A; |
| 1086 |
} else { |
} else { |
| 1087 |
$self->{current_token}->{data} # comment |
$self->{current_token}->{data} # comment |
| 1088 |
.= chr ($self->{next_input_character}); |
.= '-' . chr ($self->{next_input_character}); |
| 1089 |
$self->{state} = 'comment'; |
$self->{state} = 'comment'; |
| 1090 |
!!!next-input-character; |
!!!next-input-character; |
| 1091 |
redo A; |
redo A; |
| 3119 |
} # INSCOPE |
} # INSCOPE |
| 3120 |
|
|
| 3121 |
if ($self->{open_elements}->[-1]->[1] ne $token->{tag_name}) { |
if ($self->{open_elements}->[-1]->[1] ne $token->{tag_name}) { |
| 3122 |
!!!parse-error (type => 'not closed:'.$self->{open_elements}->[-1]->[1]); |
if (defined $i) { |
| 3123 |
|
!!!parse-error (type => 'not closed:'.$self->{open_elements}->[-1]->[1]); |
| 3124 |
|
} else { |
| 3125 |
|
!!!parse-error (type => 'unmatched end tag:'.$token->{tag_name}); |
| 3126 |
|
} |
| 3127 |
} |
} |
| 3128 |
|
|
| 3129 |
if (defined $i) { |
if (defined $i) { |