You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sebastian Annies (JIRA)" <ji...@codehaus.org> on 2010/03/01 15:53:55 UTC

[jira] Created: (DOXIA-382) Sink cannot be reused after parsing with ConfluenceParser

Sink cannot be reused after parsing with ConfluenceParser 
----------------------------------------------------------

                 Key: DOXIA-382
                 URL: http://jira.codehaus.org/browse/DOXIA-382
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Confluence
    Affects Versions: 1.1.2
            Reporter: Sebastian Annies
         Attachments: Patch_and_TestCase_for_DOXIA-382.patch

The ConfluenceParser closes the Sink in #parse(Reader, Sink). That makes it impossible to reuse the sink as target for a second parse. So you won't be able to parse more than one Confluence document. 

-- 
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-382) Sink cannot be reused after parsing with ConfluenceParser

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

Lukas Theussl closed DOXIA-382.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.3
         Assignee: Lukas Theussl

Patch applied with modifications in [r946935|http://svn.apache.org/viewvc?view=revision&revision=946935]. Thanks!

> Sink cannot be reused after parsing with ConfluenceParser 
> ----------------------------------------------------------
>
>                 Key: DOXIA-382
>                 URL: http://jira.codehaus.org/browse/DOXIA-382
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Confluence
>    Affects Versions: 1.1.2
>            Reporter: Sebastian Annies
>            Assignee: Lukas Theussl
>             Fix For: 1.1.3
>
>         Attachments: Patch_and_TestCase_for_DOXIA-382.patch
>
>
> The ConfluenceParser closes the Sink in #parse(Reader, Sink). That makes it impossible to reuse the sink as target for a second parse. So you won't be able to parse more than one Confluence document. 

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