1743 |
} else { |
} else { |
1744 |
!!!cp (100); |
!!!cp (100); |
1745 |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
1746 |
|
$self->{read_until}->($self->{current_attribute}->{value}, |
1747 |
|
q["&], |
1748 |
|
length $self->{current_attribute}->{value}); |
1749 |
|
|
1750 |
## Stay in the state |
## Stay in the state |
1751 |
!!!next-input-character; |
!!!next-input-character; |
1752 |
redo A; |
redo A; |
1794 |
} else { |
} else { |
1795 |
!!!cp (106); |
!!!cp (106); |
1796 |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
1797 |
|
$self->{read_until}->($self->{current_attribute}->{value}, |
1798 |
|
q['&], |
1799 |
|
length $self->{current_attribute}->{value}); |
1800 |
|
|
1801 |
## Stay in the state |
## Stay in the state |
1802 |
!!!next-input-character; |
!!!next-input-character; |
1803 |
redo A; |
redo A; |
1880 |
!!!cp (116); |
!!!cp (116); |
1881 |
} |
} |
1882 |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
$self->{current_attribute}->{value} .= chr ($self->{next_char}); |
1883 |
|
$self->{read_until}->($self->{current_attribute}->{value}, |
1884 |
|
q["'=& >], |
1885 |
|
length $self->{current_attribute}->{value}); |
1886 |
|
|
1887 |
## Stay in the state |
## Stay in the state |
1888 |
!!!next-input-character; |
!!!next-input-character; |
1889 |
redo A; |
redo A; |
2028 |
} else { |
} else { |
2029 |
!!!cp (126); |
!!!cp (126); |
2030 |
$self->{current_token}->{data} .= chr ($self->{next_char}); # comment |
$self->{current_token}->{data} .= chr ($self->{next_char}); # comment |
2031 |
|
$self->{read_until}->($self->{current_token}->{data}, |
2032 |
|
q[>], |
2033 |
|
length $self->{current_token}->{data}); |
2034 |
|
|
2035 |
## Stay in the state. |
## Stay in the state. |
2036 |
!!!next-input-character; |
!!!next-input-character; |
2037 |
redo A; |
redo A; |
2266 |
} else { |
} else { |
2267 |
!!!cp (147); |
!!!cp (147); |
2268 |
$self->{current_token}->{data} .= chr ($self->{next_char}); # comment |
$self->{current_token}->{data} .= chr ($self->{next_char}); # comment |
2269 |
|
$self->{read_until}->($self->{current_token}->{data}, |
2270 |
|
q[-], |
2271 |
|
length $self->{current_token}->{data}); |
2272 |
|
|
2273 |
## Stay in the state |
## Stay in the state |
2274 |
!!!next-input-character; |
!!!next-input-character; |
2275 |
redo A; |
redo A; |
2635 |
!!!cp (190); |
!!!cp (190); |
2636 |
$self->{current_token}->{public_identifier} # DOCTYPE |
$self->{current_token}->{public_identifier} # DOCTYPE |
2637 |
.= chr $self->{next_char}; |
.= chr $self->{next_char}; |
2638 |
|
$self->{read_until}->($self->{current_token}->{public_identifier}, |
2639 |
|
q[">], |
2640 |
|
length $self->{current_token}->{public_identifier}); |
2641 |
|
|
2642 |
## Stay in the state |
## Stay in the state |
2643 |
!!!next-input-character; |
!!!next-input-character; |
2644 |
redo A; |
redo A; |
2675 |
!!!cp (194); |
!!!cp (194); |
2676 |
$self->{current_token}->{public_identifier} # DOCTYPE |
$self->{current_token}->{public_identifier} # DOCTYPE |
2677 |
.= chr $self->{next_char}; |
.= chr $self->{next_char}; |
2678 |
|
$self->{read_until}->($self->{current_token}->{public_identifier}, |
2679 |
|
q['>], |
2680 |
|
length $self->{current_token}->{public_identifier}); |
2681 |
|
|
2682 |
## Stay in the state |
## Stay in the state |
2683 |
!!!next-input-character; |
!!!next-input-character; |
2684 |
redo A; |
redo A; |
2815 |
!!!cp (210); |
!!!cp (210); |
2816 |
$self->{current_token}->{system_identifier} # DOCTYPE |
$self->{current_token}->{system_identifier} # DOCTYPE |
2817 |
.= chr $self->{next_char}; |
.= chr $self->{next_char}; |
2818 |
|
$self->{read_until}->($self->{current_token}->{system_identifier}, |
2819 |
|
q[">], |
2820 |
|
length $self->{current_token}->{system_identifier}); |
2821 |
|
|
2822 |
## Stay in the state |
## Stay in the state |
2823 |
!!!next-input-character; |
!!!next-input-character; |
2824 |
redo A; |
redo A; |
2855 |
!!!cp (214); |
!!!cp (214); |
2856 |
$self->{current_token}->{system_identifier} # DOCTYPE |
$self->{current_token}->{system_identifier} # DOCTYPE |
2857 |
.= chr $self->{next_char}; |
.= chr $self->{next_char}; |
2858 |
|
$self->{read_until}->($self->{current_token}->{system_identifier}, |
2859 |
|
q['>], |
2860 |
|
length $self->{current_token}->{system_identifier}); |
2861 |
|
|
2862 |
## Stay in the state |
## Stay in the state |
2863 |
!!!next-input-character; |
!!!next-input-character; |
2864 |
redo A; |
redo A; |
2919 |
redo A; |
redo A; |
2920 |
} else { |
} else { |
2921 |
!!!cp (221); |
!!!cp (221); |
2922 |
|
my $s = ''; |
2923 |
|
$self->{read_until}->($s, q[>], 0); |
2924 |
|
|
2925 |
## Stay in the state |
## Stay in the state |
2926 |
!!!next-input-character; |
!!!next-input-character; |
2927 |
redo A; |
redo A; |
2950 |
} else { |
} else { |
2951 |
!!!cp (221.4); |
!!!cp (221.4); |
2952 |
$self->{current_token}->{data} .= chr $self->{next_char}; |
$self->{current_token}->{data} .= chr $self->{next_char}; |
2953 |
|
$self->{read_until}->($self->{current_token}->{data}, |
2954 |
|
q<]>, |
2955 |
|
length $self->{current_token}->{data}); |
2956 |
|
|
2957 |
## Stay in the state. |
## Stay in the state. |
2958 |
!!!next-input-character; |
!!!next-input-character; |
2959 |
redo A; |
redo A; |