Error message for external parameter entity in docbook xml header: Unexpected token ‚]‘

Hi,

I got stuck with the following issue:

When setting up a project in Trados Studio 2021, I get the following error message during conversion process:

Unexpected token ‚]‘, expected token ‚;‘ line 8, position 10

The header consists of the following entries:

<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet href="urn:placeholder:xslt:profiling:docbook43-profile.xsl" ?>

<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "">www.oasis-open.org/.../docbookx.dtd"

[

<!ENTITY % xinclude SYSTEM "xinclude.mod">

%xinclude;

<!-- allow xi:include inside book and chapter: -->

<!ENTITY % local.chapter.class "| xi:include">

<!ENTITY % local.section.class "| xi:include">

<!-- allow xi:include inside sections: -->

<!ENTITY % local.divcomponent.mix "| xi:include">

<!-- allow xi:include inside para etc. : -->

<!ENTITY % local.para.char.mix "| xi:include">

]>

line 8, position 10 is ‚;‘ (%xinclude;) which is the ‚expected‘ token

When I remove the following lines, the conversion works (but takes very long):

<!ENTITY % xinclude SYSTEM "xinclude.mod">

%xinclude;

Is there a setting that I need to make? In Trados Studio 2014 it worked out of the box.

Thanks in advance for any hints.

Parents Reply Children