Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-712

Add validation capability to Sink API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core
    • None

    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 events 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

      As we encourage the direct usage of the Sink API for report mojos there should be a way for mojo authors to quickly crosscheck whether they used the Sink API in a correct way.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: