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 2008/02/20 09:44:28 UTC

[jira] Closed: (DOXIA-132) test order of parsing events

     [ http://jira.codehaus.org/browse/DOXIA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-132.
-------------------------------

         Assignee: Lukas Theussl
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.0)
                   1.0-beta-1

Actually I think it is not possible to do this generally, at least I don't see how to enforce a particular event order for arbitrary parsers. We could define some standard parsing sequence for certain elements, but these would have to be checked on a per-parser level anyway. So in practice I guess it's just easier to assure that sinks are flexible enough to deal with any (reasonable) order of parsing events, so that the output is valid for the given format. (Btw I have added a SinkEventTestingSink that can be used to test event sequences of particular parsers).

> test order of parsing events
> ----------------------------
>
>                 Key: DOXIA-132
>                 URL: http://jira.codehaus.org/browse/DOXIA-132
>             Project: Maven Doxia
>          Issue Type: Task
>          Components: Core
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>             Fix For: 1.0-beta-1
>
>
> For some elements (especially tables and figures), it is essential that a parser emits events in a specified order. We could adapt the WellformednessCheckingSink to test that.

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