94 |
}, |
}, |
95 |
}; |
}; |
96 |
|
|
97 |
|
## ISSUE: Should we really allow these attributes? |
98 |
$AttrChecker->{''}->{'xml:space'} = $AttrChecker->{$XML_NS}->{space}; |
$AttrChecker->{''}->{'xml:space'} = $AttrChecker->{$XML_NS}->{space}; |
99 |
$AttrChecker->{''}->{'xml:lang'} = $AttrChecker->{$XML_NS}->{lang}; |
$AttrChecker->{''}->{'xml:lang'} = $AttrChecker->{$XML_NS}->{lang}; |
100 |
$AttrChecker->{''}->{'xml:base'} = $AttrChecker->{$XML_NS}->{base}; |
$AttrChecker->{''}->{'xml:base'} = $AttrChecker->{$XML_NS}->{base}; |
2168 |
$ElementDefault; |
$ElementDefault; |
2169 |
$eldef->{attrs_checker}->($self, $todo); |
$eldef->{attrs_checker}->($self, $todo); |
2170 |
my ($new_todos) = $eldef->{checker}->($self, $todo); |
my ($new_todos) = $eldef->{checker}->($self, $todo); |
2171 |
push @todo, @$new_todos; |
unshift @todo, @$new_todos; |
2172 |
} elsif ($todo->{type} eq 'element-attributes') { |
} elsif ($todo->{type} eq 'element-attributes') { |
2173 |
my $prefix = $todo->{node}->prefix; |
my $prefix = $todo->{node}->prefix; |
2174 |
if (defined $prefix and $prefix eq 'xmlns') { |
if (defined $prefix and $prefix eq 'xmlns') { |