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

Michael Osipov updated DOXIASITETOOLS-238:
------------------------------------------
    Fix Version/s:     (was: 1.x)

> Pass input file name as reference to parser
> -------------------------------------------
>
>                 Key: DOXIASITETOOLS-238
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-238
>             Project: Maven Doxia Sitetools
>          Issue Type: New Feature
>    Affects Versions: 1.11.1
>            Reporter: Abel Salgado Romero
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0-M1
>
>
> 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.



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

Reply via email to