72 |
|
|
73 |
my $out = $self->output; |
my $out = $self->output; |
74 |
|
|
75 |
$out->start_section (id => 'document-errors', title => 'Document Errors'); |
$out->start_section (role => 'structure-errors'); |
76 |
$out->html ('<p>Not supported for this kind of contents.'); |
$out->start_error_list (role => 'structure-errors'); |
77 |
## TODO: class="???" |
|
78 |
|
$self->result->add_error (input => $self->input, |
79 |
|
level => 'u', |
80 |
|
layer => 'structure', |
81 |
|
type => 'media type not supported:structure', |
82 |
|
text => $self->input->{media_type}); |
83 |
|
|
84 |
|
$out->end_error_list (role => 'structure-errors'); |
85 |
$out->end_section; |
$out->end_section; |
86 |
} # generate_structure_error_section |
} # generate_structure_error_section |
87 |
|
|