526 |
## $self->{nc} is intentionally left as is |
## $self->{nc} is intentionally left as is |
527 |
redo A; |
redo A; |
528 |
} |
} |
529 |
} else { |
} elsif (not $self->{is_xml} or $is_space->{$self->{nc}}) { |
530 |
!!!cp (23); |
!!!cp (23); |
531 |
!!!parse-error (type => 'bare stago', |
!!!parse-error (type => 'bare stago', |
532 |
line => $self->{line_prev}, |
line => $self->{line_prev}, |
541 |
}); |
}); |
542 |
|
|
543 |
redo A; |
redo A; |
544 |
|
} else { |
545 |
|
## XML5: "<:" is a parse error. |
546 |
|
!!!cp (23.1); |
547 |
|
$self->{ct} = {type => START_TAG_TOKEN, |
548 |
|
tag_name => chr ($self->{nc}), |
549 |
|
line => $self->{line_prev}, |
550 |
|
column => $self->{column_prev}}; |
551 |
|
$self->{state} = TAG_NAME_STATE; |
552 |
|
!!!next-input-character; |
553 |
|
redo A; |
554 |
} |
} |
555 |
} else { |
} else { |
556 |
die "$0: $self->{content_model} in tag open"; |
die "$0: $self->{content_model} in tag open"; |