Maven Doxia

Add an 'unknown' element to Sink API

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: Sink API
  • Labels:
    None
  • Number of attachments :
    0

Description

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:

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

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

Issue Links

Activity

Hide
Lukas Theussl added a comment -

Done in r660885.

Show
Lukas Theussl added a comment - Done in r660885.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: