You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/09/16 07:43:11 UTC

[jira] Created: (DOXIA-152) Xdoc parser shouldn't insert anchors for section titles

Xdoc parser shouldn't insert anchors for section titles
-------------------------------------------------------

                 Key: DOXIA-152
                 URL: http://jira.codehaus.org/browse/DOXIA-152
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Xdoc
    Affects Versions: 1.0-alpha-9
            Reporter: Lukas Theussl
            Assignee: Lukas Theussl
             Fix For: 1.0-beta-1


When I removed that in alpha-9 I broke some things in the site-renderer and TOCMacro (see http://tinyurl.com/26f4zh and http://tinyurl.com/2r6u4p for a discussion), so I had to revert it. I think the anchors should be inserted be a sink for a particular output format, if this is desired, not by a parser. We have to find a more general solution that hopefully doesn't break the TOCMacro.

I am now seeing some consequences of this: I can't generate a pdf for the doxia site (using the sandbox fo-pdf plugin), because of duplicate anchor ids that are generated, which is exactly the same problem we had in m1: MPPDF-40

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DOXIA-152) Xdoc parser shouldn't insert anchors for section titles

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-152.
-------------------------------

    Resolution: Fixed

Moved anchor generation from xdoc parser to SiteRendererSink.

> Xdoc parser shouldn't insert anchors for section titles
> -------------------------------------------------------
>
>                 Key: DOXIA-152
>                 URL: http://jira.codehaus.org/browse/DOXIA-152
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Xdoc
>    Affects Versions: 1.0-alpha-9
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>             Fix For: 1.0-beta-1
>
>
> When I removed that in alpha-9 I broke some things in the site-renderer and TOCMacro (see http://tinyurl.com/26f4zh and http://tinyurl.com/2r6u4p for a discussion), so I had to revert it. I think the anchors should be inserted be a sink for a particular output format, if this is desired, not by a parser. We have to find a more general solution that hopefully doesn't break the TOCMacro.
> I am now seeing some consequences of this: I can't generate a pdf for the doxia site (using the sandbox fo-pdf plugin), because of duplicate anchor ids that are generated, which is exactly the same problem we had in m1: MPPDF-40

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira