You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/12/23 19:43:00 UTC

[jira] [Created] (DOXIA-712) Add validation capability to Sink API

Konrad Windszus created DOXIA-712:
-------------------------------------

             Summary: Add validation capability to Sink API
                 Key: DOXIA-712
                 URL: https://issues.apache.org/jira/browse/DOXIA-712
             Project: Maven Doxia
          Issue Type: Improvement
          Components: Core
            Reporter: Konrad Windszus


The Sink API comes with several limitations with regards to valid order of events/method calls. Those are documented in the javadoc of the Sink interface but are complex to follow. This includes

- certain start event need to be followed by an according end event
- {{sectionTitle(int,SinkEventAttributes)}} needs to be directly preceded by {{section(int,SinkEventAttributes)}} with the same first argument.
- certain rules for sequence of events for {{table}}, {{list}} (numbered, non-numbered and definition) and {{figure}}
- validation of certain common parameters like {{level}} or {{SinkEventAttributes}} for valid values



--
This message was sent by Atlassian Jira
(v8.20.10#820010)