You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/12/20 09:18:57 UTC

[jira] Created: (MSITE-282) [regression] site plugin strips attributes from img tags

[regression] site plugin strips attributes from img tags
--------------------------------------------------------

                 Key: MSITE-282
                 URL: http://jira.codehaus.org/browse/MSITE-282
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-7
            Reporter: Brett Porter


previous versions didn't do this, but it is happening on trunk. For an example, run it on the Archiva site and compare outputs with the last release.

-- 
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] Updated: (DOXIA-227) [regression] attributes stripped from img tags

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

Lukas Theussl updated DOXIA-227:
--------------------------------

    Fix Version/s: 1.0-beta-1
      Component/s: Sink API
                   Modules
                   Module - Xhtml
                   Module - Xdoc
                   Core
          Summary: [regression] attributes stripped from img tags  (was: [regression] site plugin strips attributes from img tags)

I guess at least width and height attributes should be conserved.

However, we should work on a more general solution that allows to pass arbitrary attributes to any sink methods. Something like (taking figure as example, this should be applied to all relevant sink methods)

{code}
public void figure( SinkEventAttributes attributes );
{code} 

where SinkEventAttributes is just a Map of attribute names-values which should be parsed and processed by the receiving Sink. I'm not sure about the details yet but this would solve a couple of issues apart from the current one, eg DOXIA-38, DOXIA-63, DOXIA-78, DOXIA-163, DOXIA-164, DOXIA-204.

Comments, ideas?

> [regression] attributes stripped from img tags
> ----------------------------------------------
>
>                 Key: DOXIA-227
>                 URL: http://jira.codehaus.org/browse/DOXIA-227
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core, Module - Xdoc, Module - Xhtml, Modules, Sink API
>    Affects Versions: 1.0-alpha-9
>            Reporter: Brett Porter
>             Fix For: 1.0-beta-1
>
>
> previous versions didn't do this, but it is happening on trunk. For an example, run it on the Archiva site and compare outputs with the last release.

-- 
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] Commented: (MSITE-282) [regression] site plugin strips attributes from img tags

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

Lukas Theussl commented on MSITE-282:
-------------------------------------

Which attributes are missing? In doxia-alpha-8 the xdoc parser emitted img tags as rawText, which preserves all attributes but is bad because it cannot be consumed by other sinks than xhtml (see DOXIA-183). Since doxia-alpha-9, img tags are properly handled as sink events but only the src, alt and title attributes are recognized.

> [regression] site plugin strips attributes from img tags
> --------------------------------------------------------
>
>                 Key: MSITE-282
>                 URL: http://jira.codehaus.org/browse/MSITE-282
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-7
>            Reporter: Brett Porter
>
> previous versions didn't do this, but it is happening on trunk. For an example, run it on the Archiva site and compare outputs with the last release.

-- 
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] Moved: (DOXIA-227) [regression] site plugin strips attributes from img tags

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

Lukas Theussl moved MSITE-282 to DOXIA-227:
-------------------------------------------

    Affects Version/s:     (was: 2.0-beta-7)
                       1.0-alpha-9
                  Key: DOXIA-227  (was: MSITE-282)
              Project: Maven Doxia  (was: Maven 2.x Site Plugin)

> [regression] site plugin strips attributes from img tags
> --------------------------------------------------------
>
>                 Key: DOXIA-227
>                 URL: http://jira.codehaus.org/browse/DOXIA-227
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-9
>            Reporter: Brett Porter
>
> previous versions didn't do this, but it is happening on trunk. For an example, run it on the Archiva site and compare outputs with the last release.

-- 
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-227) [regression] attributes stripped from img tags

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

Lukas Theussl closed DOXIA-227.
-------------------------------

      Assignee: Lukas Theussl
    Resolution: Fixed

Fixed with DOXIA-204.

> [regression] attributes stripped from img tags
> ----------------------------------------------
>
>                 Key: DOXIA-227
>                 URL: http://jira.codehaus.org/browse/DOXIA-227
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core, Module - Xdoc, Module - Xhtml, Modules, Sink API
>    Affects Versions: 1.0-alpha-9
>            Reporter: Brett Porter
>            Assignee: Lukas Theussl
>             Fix For: 1.0-beta-1
>
>
> previous versions didn't do this, but it is happening on trunk. For an example, run it on the Archiva site and compare outputs with the last release.

-- 
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