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

Do not fail for duplicate anchor names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M9
    • 2.0.0, 2.0.0-M10
    • Core
    • None

    Description

      The UniqueAnchorNamesValidator added with DOXIA-722 fails with an ISE in case duplicate anchor names are found on a page (https://github.com/apache/maven-doxia/blob/7a04c033456511e1bd4870f03ba768d03158f368/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/UniqueAnchorNamesValidator.java#L49).

      As this only has a functional impact for links using the anchors the default behaviour should rather be a WARNING in the log.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: