[ 
https://issues.apache.org/jira/browse/DOXIA-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801250#comment-17801250
 ] 

ASF GitHub Bot commented on DOXIA-699:
--------------------------------------

kwin closed pull request #152: [DOXIA-699] Add failing test case
URL: https://github.com/apache/maven-doxia/pull/152




> Xhtml5Parser may emit sectionX() without sectionX_() when using both <hX> and 
> <section>
> ---------------------------------------------------------------------------------------
>
>                 Key: DOXIA-699
>                 URL: https://issues.apache.org/jira/browse/DOXIA-699
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M5
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 2.0.0, 2.0.0-M9
>
>         Attachments: test.xhtml5
>
>
> Due to the logic in 
> https://github.com/apache/maven-doxia/blob/37173794270ee68894aac0e252dcb87545770952/doxia-core/src/main/java/org/apache/maven/doxia/parser/Xhtml5BaseParser.java#L631
>  there may calls of {{Sink.sectionX()}} without the according call of 
> {{Sink.sectionX_()}}.
> The attached XHTML5 being parsed and then converted back through the Sink to 
> XHTML5 is invalid (lacks one closing section tag).



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

Reply via email to