697 |
} |
} |
698 |
} elsif ($child_nt == 3 or # TEXT_NODE |
} elsif ($child_nt == 3 or # TEXT_NODE |
699 |
$child_nt == 4) { # CDATA_SECTION_NODE |
$child_nt == 4) { # CDATA_SECTION_NODE |
700 |
my $has_significant = ($child->data =~ /[^\x09-\x0D\x20]/); |
my $has_significant = ($child->data =~ /[^\x09\x0A\x0C\x0D\x20]/); |
701 |
push @new_item, [$content_def->{check_child_text}, |
push @new_item, [$content_def->{check_child_text}, |
702 |
$self, $item, $child, $has_significant, |
$self, $item, $child, $has_significant, |
703 |
$content_state, $element_state]; |
$content_state, $element_state]; |
990 |
last CN; |
last CN; |
991 |
} |
} |
992 |
} elsif ($cnt == 3 or $cnt == 4) { |
} elsif ($cnt == 3 or $cnt == 4) { |
993 |
if ($cn->data =~ /[^\x09-\x0D\x20]/) { |
if ($cn->data =~ /[^\x09\x0A\x0C\x0D\x20]/) { |
994 |
last CN; |
last CN; |
995 |
} |
} |
996 |
} |
} |
1011 |
last CN; |
last CN; |
1012 |
} |
} |
1013 |
} elsif ($cnt == 3 or $cnt == 4) { |
} elsif ($cnt == 3 or $cnt == 4) { |
1014 |
if ($cn->data =~ /[^\x09-\x0D\x20]/) { |
if ($cn->data =~ /[^\x09\x0A\x0C\x0D\x20]/) { |
1015 |
last CN; |
last CN; |
1016 |
} |
} |
1017 |
} |
} |