Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
How should one switch to a different DTD?
I'm using 5.4 m170 with SGML locally. I was given a new DTD with a different name. I compiled the new DTD and it failed with a syntax error, so I recompiled the old DTD successfully, saved the SGML file but it's still using the new DTD. Recompiled again, saved, shut down Arbortext, opened it again and SGML is still using the new DTD. The catalog is pointing to the old DTD.
The new DTD was uploaded to the PE Server without changing the catalog path. I asked someone in production to recompile the new DTD sincer her SGML file couldn't f ind the old DTD, and the compile succeeded. But every time she opens the SGML file it says it can't find the DTD, and then it can't find the stylesheet, either. I assumed it was because the catalog path had to be renamed to the new DTD but I thought saving the SGML file after recompiling the new DTD would have overridden that. Anyway, they renamed the new DTD on the server to match the old DTD.
I still would like to know why my SGML file is not switching to the most recently compiled DTD? And also why the new DTD fails locally but compiled from the server?
Hi Lynn,
I was getting a syntax error when compiling it locally, so it did not compile. When it was being compiled on the server it threw these new errors:
*** Error on line 166 in file \\dtbtcnas...:
[A11054] Invalid value "other" for required attribute "type"
*** Error on line 242 in file \\dtbtcnas...
[A11080] Undefined entity reference: ldquo
*** Error on line 242 in file \\dtbtcnas...
[A11080] Undefined entity reference: rdquo
OK so the gist I'm getting is that the catalog path to the DTD and the SGML public identifier must match, which right now it doesn't on the server.
Hi Lynn,
Thanks everyone!
Thanks again, Lynn! You are a great resource!