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

Michael Osipov commented on DOXIA-768:
--------------------------------------

Nice find...

> Markdown: Fenced code block containing processing instruction leads to 
> exception
> --------------------------------------------------------------------------------
>
>                 Key: DOXIA-768
>                 URL: https://issues.apache.org/jira/browse/DOXIA-768
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The following exception is emitted for this md:
> {code}
> ```xml
> <?xml version="1.0" encoding="UTF-8"?>
> <document xmlns="http://maven.apache.org/XDOC/2.0";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
> http://maven.apache.org/xsd/xdoc-2.0.xsd";>
> ```
> {code}
> {code}
> Failed to render site: Error parsing '.../example.md', line ..: Error parsing 
> the model: processing instruction can not have PITarget with reserved xml 
> name (position: TEXT seen ...</code></pre>\n<?xml ... @)
> {code}



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

Reply via email to