Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-238

Pass input file name as reference to parser

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.11.1
    • 2.0.0-M1, 2.0.0
    • None
    • None

    Description

      https://issues.apache.org/jira/browse/DOXIA-614 fixed Doxia to allow parsers to receive a reference (String) to the original source being processed. Currently only the Reader was available preventing parsers from reporting the user where was a possible issue.

      However, parsers still receive 'null' since the Doxia-sitetools does not pass the reference in https://github.com/apache/maven-doxia-sitetools/blob/91b40d4873fef87b4c5241d332de224ff0e59946/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java#L435. To fix this, we should call `parse(Reader,String,Sink,String)` being the last String the reference value.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              Abel S.Romero Abel Salgado Romero
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: