1540 |
|
|
1541 |
redo A; |
redo A; |
1542 |
} else { |
} else { |
1543 |
!!!cp (82); |
if ($self->{next_char} == 0x0022 or # " |
1544 |
|
$self->{next_char} == 0x0027) { # ' |
1545 |
|
!!!cp (78); |
1546 |
|
!!!parse-error (type => 'bad attribute name'); |
1547 |
|
} else { |
1548 |
|
!!!cp (82); |
1549 |
|
} |
1550 |
$self->{current_attribute} |
$self->{current_attribute} |
1551 |
= {name => chr ($self->{next_char}), |
= {name => chr ($self->{next_char}), |
1552 |
value => '', |
value => '', |
1581 |
!!!next-input-character; |
!!!next-input-character; |
1582 |
redo A; |
redo A; |
1583 |
} elsif ($self->{next_char} == 0x003E) { # > |
} elsif ($self->{next_char} == 0x003E) { # > |
1584 |
|
!!!parse-error (type => 'empty unquoted attribute value'); |
1585 |
if ($self->{current_token}->{type} == START_TAG_TOKEN) { |
if ($self->{current_token}->{type} == START_TAG_TOKEN) { |
1586 |
!!!cp (87); |
!!!cp (87); |
1587 |
$self->{last_emitted_start_tag_name} = $self->{current_token}->{tag_name}; |
$self->{last_emitted_start_tag_name} = $self->{current_token}->{tag_name}; |