You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/10/15 00:27:50 UTC

[jira] Created: (TIKA-68) Add dummy parser classes to be used as sentinels

Add dummy parser classes to be used as sentinels
------------------------------------------------

                 Key: TIKA-68
                 URL: https://issues.apache.org/jira/browse/TIKA-68
             Project: Tika
          Issue Type: New Feature
          Components: general
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor
             Fix For: 0.1-incubator


Various design patterns that could be used with the Parser interface call for dummy sentinel parser classes to be used (instead of null) as placeholders for more complex functionality. To simplify implementation of such patterns we should add simple parser classes that either always produce an empty XHTML event stream, or always throw a TikaException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TIKA-68) Add dummy parser classes to be used as sentinels

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated TIKA-68:
------------------------------

    Attachment: TIKA-68.patch

Attached a patch that implements the proposed dummy parsers.

> Add dummy parser classes to be used as sentinels
> ------------------------------------------------
>
>                 Key: TIKA-68
>                 URL: https://issues.apache.org/jira/browse/TIKA-68
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-68.patch
>
>
> Various design patterns that could be used with the Parser interface call for dummy sentinel parser classes to be used (instead of null) as placeholders for more complex functionality. To simplify implementation of such patterns we should add simple parser classes that either always produce an empty XHTML event stream, or always throw a TikaException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TIKA-68) Add dummy parser classes to be used as sentinels

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-68.
-------------------------------

    Resolution: Fixed

Patch committed in revision 584920.

> Add dummy parser classes to be used as sentinels
> ------------------------------------------------
>
>                 Key: TIKA-68
>                 URL: https://issues.apache.org/jira/browse/TIKA-68
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-68.patch
>
>
> Various design patterns that could be used with the Parser interface call for dummy sentinel parser classes to be used (instead of null) as placeholders for more complex functionality. To simplify implementation of such patterns we should add simple parser classes that either always produce an empty XHTML event stream, or always throw a TikaException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-68) Add dummy parser classes to be used as sentinels

Posted by "Rida Benjelloun (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534868 ] 

Rida Benjelloun commented on TIKA-68:
-------------------------------------

+1 adding this parsers

> Add dummy parser classes to be used as sentinels
> ------------------------------------------------
>
>                 Key: TIKA-68
>                 URL: https://issues.apache.org/jira/browse/TIKA-68
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-68.patch
>
>
> Various design patterns that could be used with the Parser interface call for dummy sentinel parser classes to be used (instead of null) as placeholders for more complex functionality. To simplify implementation of such patterns we should add simple parser classes that either always produce an empty XHTML event stream, or always throw a TikaException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-68) Add dummy parser classes to be used as sentinels

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534749 ] 

Bertrand Delacretaz commented on TIKA-68:
-----------------------------------------

+1 on adding these parsers

> Add dummy parser classes to be used as sentinels
> ------------------------------------------------
>
>                 Key: TIKA-68
>                 URL: https://issues.apache.org/jira/browse/TIKA-68
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-68.patch
>
>
> Various design patterns that could be used with the Parser interface call for dummy sentinel parser classes to be used (instead of null) as placeholders for more complex functionality. To simplify implementation of such patterns we should add simple parser classes that either always produce an empty XHTML event stream, or always throw a TikaException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.