XML Validation Error. Trados 2014

When verifying the translation I get an error message:

The element 'menucascade' cannot contain text. List of possible elements expected:'uicontrol sfigure'

 

And I am unable to identify where exactly the error is coming from. Clicking on the message does not lead to any specific segment. How can I fix it?

 

Thanks

Parents Reply
  • Hi again 

    In that case, it may well be due to the difference between formats used at the time of Studio 2014 and Studio 2017.

    However, the text of the error indicates that there is a sequence of elements/tags that should not contain text but text has been inserted. This can prevent saving to target format.

    For example...

    <stichworteintrag><haupt>Boiler, cleaning</haupt><unter>with brush</unter><stichworteintrag>

    The above is a simple index entry and would appear like this in the final PDF:

    B

    Boiler, cleaning

    - with brush...……………………….200

    (page number)

     

    If, however, the translator had typed any text between any of the end and starting tags, for example:

    <stichworteintrag><haupt>Boiler, </haupt>cleaning<unter>with brush</unter><stichworteintrag>

    the XML reimport process would throw an error and fail.

     

    However, for example, the 'cannot contain text' error can also be triggered if a correct element is present that was not included the relevant XML file type in the version of Studio the error is triggered by.

    Before I continue with further speculation, could either of the above describe what has happened in your scenario?

    I should also point out that you can see the full tag text by clicking the relevant button on the View ribbon tab, here:

    Screenshot of Trados Studio error message indicating a sequence of elements or tags that should not contain text but text has been inserted, preventing saving to target format.

    The document has to be open to access the above setting.

    Let me know if any of the above helps...

    All the best,

    Alison

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:46 PM (GMT 0) on 28 Feb 2024]
Children