Skip to main content
Known Participant
September 24, 2015
Answered

Importing DTD into EDD

  • September 24, 2015
  • 1 reply
  • 1014 views

I am new to FrameMaker and just installed version 12. Every time I try to import a DTD into a new EDD, per instructions in the Frame documentation, I get a seven page (number of messages exceeded the maximum) FrameMaker Log that lists mostly DTD lines in which "Length of name, number, or token exceeded the NAMELEN limit". This happens with every DTD I try to import, so I'm wondering what I might be doing wrong. Any ideas?

This topic has been closed for replies.
Correct answer Lynne A. Price

Mongo-man,

   Are you importing an XML DTD? The error message is an SGML error. If you are working with XML, make sure to click the XML radio button in the Select Type dialog box. If you are working with SGML, you will need to use an SGML declaration that increases NAMELEN.

--Lynne

1 reply

Lynne A. PriceCorrect answer
Inspiring
September 24, 2015

Mongo-man,

   Are you importing an XML DTD? The error message is an SGML error. If you are working with XML, make sure to click the XML radio button in the Select Type dialog box. If you are working with SGML, you will need to use an SGML declaration that increases NAMELEN.

--Lynne

Mongo-manAuthor
Known Participant
September 24, 2015

Thanks Lynne. I am trying to create an EDD using a DTD provided by a customer who requested SGML output of from FrameMaker for some manuals I am writing for them. I was using No Application and SGML for the import parameters. I went back and indicated XML for importing the DTD into a new EDD and got some "expected quote string", "could not open external entity" and "syntax error" messages, then "parsing aborted" - but by choosing XML instead of SGML, I no longer got the NAMELEN messages. Do you think I need to tell the customer if they want SGML I need a different DTD?

Inspiring
September 24, 2015

No, if the customer wants SGML, you want to continue using SGML. Do not change the DTD. However, you will have to set up an SGML application that specifies an SGML declaration. You should ask the customer to provide their SGML declaration. (They may have already given you one. It may be in a separate file, or included at the beginning of any sample SGML files they may have provided.)

--Lynne