Load DTD throws error in InDesign 2022 (17.0)
When using the structure menu to load a DTD , the latest version of InDesign sometimes throws an error with a single period as the message. I'm using the same DTD I've used successfully in previous versions of InDesign.
Error text:
.
Line 941, Column: 18
In the context of this DTD, line 941 column 18 points to the % sign used to refer to an earlier parameter entity. This has never been a problem for InDesign before:
<!ELEMENT sam (%paragraph_styles; | table | footnote | endnote)+ >
Even using the same DTD in the same file, this issue doesn't always occur. I am typically able to get around the issue by scrolling around the document or clicking on text boxes, then simply running the tool again. It's unclear what could be causing this different behavior each time the tool is run.
This also affects document.loadDtd in the scripting object model.
The issue was fixed in InDesign 17.2
Please update to this version or later to get the fix.
--
InDesign team
-
Matthias Fritsch commented
Hi team Adobe,
any updates to this issue?In InDesign 2022 Version 17.2 it seems that the error on loading a DTD is gone.
(InDesign 2022 Version 17.0 and 17.1 still throws this error)But there are no updates on this issue and no information of a bugfix.
-
Sajeev Sridharan commented
I had the same problem.
Any update?
-
Matthias Fritsch commented
I have the same problem as Noah described:
Sometimes loading a DTD from the structure menu or with the scripting command "document.loadDtd" is possible, sometimes not. I used the same DTD successfully in previous versions of InDesign.