Add an 'unknown' element to Sink API
------------------------------------

                 Key: DOXIA-243
                 URL: http://jira.codehaus.org/browse/DOXIA-243
             Project: Maven Doxia
          Issue Type: Improvement
          Components: Sink API
            Reporter: Lukas Theussl
             Fix For: 1.0-beta-1


In order to solve the problem of rawText emission in the XdocParser (see 
DOXIA-183) I propose to add an "unknown" event to the Sink API:

{code}
void unknown( String name, Object[] requiredParams, SinkEventAttributes atts );
{code}

This would avoid to make assumptions about the receiving sink in the parser and 
allow the specific sinks to deal with the event. 

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

        

Reply via email to