Rainbow null error when running kit creation on an xml file with cdata with simplification filter, and secondary html filter

Issue #355 resolved
Former user created an issue

Original issue 355 created by rander...@lingotek.com on 2013-08-02T21:38:04.000Z:

  1. Upload the attach xml file in rainbow
  2. Download the xmlstream fprm attached (note that the fprm filter points to the html filter)
  3. Create a copy of the simplification folder and make it point to the xmlstream fprm file that was downloaded
  4. Perform a translation kit creation

Notice there is an ERROR: null

The problem is that the xml file has CDATA inside, so it has to use an html filter as the subfilter. When combined with the simplification folder the error is thrown.

Rainbow version 6.0.22 windows 7 x86

Comments (4)

  1. Former user Account Deleted

    Comment 1. originally posted by mpome...@lingotek.com on 2013-08-02T22:28:03.000Z:

    $ tikal -x -sl en -tl es -fc okf_simplification@ xmlcustom import8971089963360986920.xml -trace ~/test/okapi[ruby-2.0.0]

    Okapi Tikal - Localization Toolset
    Version: 2.0.22


    Extraction
    Source language: en
    Target language: es
    Default input encoding: UTF-8
    Filter configuration: okf_simplification@ xmlcustom
    Output: /home/mpomeroy/test/okapi/import8971089963360986920.xml.xlf
    Input: /home/mpomeroy/test/okapi/import8971089963360986920.xml
    net.sf.okapi.common.exceptions.OkapiBadFilterParametersException: Cannot create a filter for the filter config ID specified in filter parameters
    at net.sf.okapi.lib.preprocessing.filters.simplification.SimplificationFilter.open(SimplificationFilter.java:132)
    at net.sf.okapi.lib.preprocessing.filters.common.PreprocessingFilter.open(PreprocessingFilter.java:76)
    at net.sf.okapi.steps.common.RawDocumentToFilterEventsStep.handleEvent(RawDocumentToFilterEventsStep.java:136)
    at net.sf.okapi.common.pipeline.Pipeline.execute(Pipeline.java:123)
    at net.sf.okapi.common.pipeline.Pipeline.process(Pipeline.java:235)
    at net.sf.okapi.common.pipeline.Pipeline.process(Pipeline.java:205)
    at net.sf.okapi.common.pipelinedriver.PipelineDriver.processBatch(PipelineDriver.java:176)
    at net.sf.okapi.applications.tikal.Main.extractFile(Main.java:1536)
    at net.sf.okapi.applications.tikal.Main.process(Main.java:956)
    at net.sf.okapi.applications.tikal.Main.main(Main.java:564)

  2. Former user Account Deleted
    • changed status to open

    Comment 3. originally posted by @ysavourel on 2013-08-08T20:20:12.000Z:

    Seems the problem is in the subfilters framework, also the resource simplification step. Will check other related issues, can be gone with this fixed.

  3. Log in to comment