maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (DOXIA-204) Add generic parameters support to Figure and Link events
Date Sun, 02 Mar 2008 18:00:28 GMT

    [ http://jira.codehaus.org/browse/DOXIA-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125793
] 

Vincent Massol commented on DOXIA-204:
--------------------------------------

ok you've convinced me. I wish we still had a way to make that "typed" as much as possible,
maybe by having specialized versions of SinkEventAttributes per event types. At the very least
we should enumeration types to get well-known attributes, such as: attributes.get(LinkAttributes.LABEL).

BTW for me a well known attribute is simply an attribute that is defined in Doxia (i.e. for
which we have a an enumeration for example).

> Add generic parameters support to Figure and Link events
> --------------------------------------------------------
>
>                 Key: DOXIA-204
>                 URL: http://jira.codehaus.org/browse/DOXIA-204
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Sink API
>    Affects Versions: 1.0-alpha-10
>            Reporter: Vincent Massol
>             Fix For: 1.0-beta-1
>
>
> For example XWiki has the following syntax for image macros and links:
> * image: http://code.xwiki.org/xwiki/bin/view/Macros/ImageMacro
> * links: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
> For the image macro there are the "document" and "fromincludingdoc" which are specific
to XWiki and thus cannot be put as standard parameters.
> Same for links.
> Thus I propose to allow parsers to pass a Map of properties (pair/values) to the Sink
API so that sinks can be written to understand them (the XWiki sink would understand them
for example).

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

        

Mime
View raw message