Pages: 1
Print
Author Topic: can't insert specialized topics into a map - resolved  (Read 648 times)
james_uc
Member

Posts: 10


« on: May 18, 2010, 07:06:19 PM »

Hi All

How does XMetaL recognise a specialized topic? I've made a specialized topic type (called profile, which is a specialization of topic) and created a topic of this type. When I try and insert it into a map using XMetaL via Insert, Topic Reference, I get the message "Please select or create a DITA topic file".

I used Tools/ Select Specialized DTD to configure XMetaL to recognise the new topic type, and I can create and edit topics of the new type with no problem, but not insert into a map. I tried setting up the faq topic in the same way and I get the same message with that.

What do I need to do (or fix) to get XMetaL to insert specialised topics into a map?

I'm using XMetaL(R) Author Enterprise Edition 5.1.1

UPDATE - resolved this issue after a bit of head scratching. Problem was public names for DTD wasn't consistent between topic and DTD file - "-//UC//ELEMENTS DITA profile//EN" and "-//UC//ELEMENTS DITA Profile//EN".
« Last Edit: May 18, 2010, 11:51:11 PM by james_uc » Logged
QuadricRiddler
Member

Posts: 7


« Reply #1 on: April 23, 2012, 04:49:41 AM »

I had the same problem with MathML specialization.
And tracked the cause to be in file
  C:\Program Files\XMetaL 6.0\Author\DITA\XACs\dita_xac_catalog_specialized.xml

A value entered in dialog Tools.Select_DITA specialization is appended to this file as a new <mapping> element.
Strangely, there were literal "\n\t" strings embedded (Viewed with Notepad++).
This is what i found:

<mapping>\n\t<pubid>-//DESSCI//DTD DITA with MathML Composite//EN</pubid>\n\t<sysid>dita_mathml</sysid>\n\t<handler>DitaDocHandler</handler>\n\t<type>ditabase</type>\n</mapping>\n</xmditacatalog>


I removed all "\n\t" , et voila, adding the specialized topic to the ditamap was now enabled!

I recently upgraded to Xmetal 6.0.2.070 which does not not seem to accept these spurious strings. Although it should neatly handle only the xml elements.
« Last Edit: April 23, 2012, 05:15:51 AM by QuadricRiddler » Logged
Pages: 1
Print
Jump to: