[ 
https://issues.apache.org/jira/browse/DOXIA-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated DOXIA-712:
----------------------------------
    Description: 
The Sink API comes with several limitations with regards to valid order of 
events/method calls and valid parametrization. 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

  was:
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


> 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
>            Priority: Major
>
> The Sink API comes with several limitations with regards to valid order of 
> events/method calls and valid parametrization. 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)

Reply via email to