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

Herve Boutemy commented on DOXIA-734:
-------------------------------------

FML is legacy, and even when not legacy, it was an edge case not used so much
xdoc is the XML view on the Sink API: by definition, to me, it cannot be legacy 
as it just translates the Sink API into an XML source syntax: if someone wants 
to use the pure Doxia API = the sink API, xdoc remains the way to go
ok, this use case remains an edge case, as nowadays people should prefer 
Markdown or asciidoc, but Markdown and asciidoc are a mix between Doxia Sink 
API supported features and raw HTML parsing / immediate rendering: having xdoc 
remains useful as a reminder (if my view still makes sense: over years, maybe 
I'm wrong now...)

in summary: ok to drop FML, not ok to drop xdoc

> anchor element with "name" attribute no longer detected by 
> XdocParser/FmlParser
> -------------------------------------------------------------------------------
>
>                 Key: DOXIA-734
>                 URL: https://issues.apache.org/jira/browse/DOXIA-734
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Module - Fml
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently only {{<a id=...>}} is translated into a proper 
> {{Sink.anchor(...)}} call.
> The obsolete {{<a name=...>}} is currently not calling an according 
> {{Sink.anchor(...)}} method but may be still used in ancient markups which 
> derive from the XHtml5BaseParser.
> For example XDoc and FML both stem from the time where 
> https://www.w3.org/TR/xhtml1/ was the most recent XHTML spec and therefore 
> support {{a name}} (according to 
> https://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-xdoc/xsddoc/http___maven.apache.org_XDOC_2.0/element/a.html
>  and 
> https://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-fml/xsddoc/http___maven.apache.org_FML_1.0.1/element/a.html)



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

Reply via email to