Skip to main content
Inspiring
October 7, 2019
Question

FM 2019: How to validate xml source files in ditamap?

  • October 7, 2019
  • 2 replies
  • 1228 views

Hi!

I am trying to publish ditamap as html file, however, it always fails. The publishing log says at the bottom that "Unable to publish. Validate xml source files and retry." How do I do that? I am new to this and I know my predecessor used Framemaker 2015 to work with the same files. Does that create a problem? I have gone through the whole ditamap and saved all the files with Framemaker 2019, but that didn't help. I have applied "Structure > Validate > Entire document > Start validating" for each file. Didn't help. Or then I'm doing something wrong with these procedures.

 

What should I do/try next?

 

Thank you for any help or tips!

This topic has been closed for replies.

2 replies

Inspiring
October 11, 2019

Update: Only two of the files are actually non-functioning. The others only have links to them. And those non-functioning ones are in some weird blue/tourqoise highlight colour which is not an indicator of a link at least since they're inside <dl> <dlentry> <dt></dt><dd></dd> </dlentry></dl> tags. Quick and dirty solution is to just delete and re-write everything. However, in case some more complex files have the same problem in the futute, it would be nice to know the real solution.

Adobe Employee
October 8, 2019

Between FM2015 and FM2019, DITA-OT has been upgraded in FM and plans are to upgrade the same for FMNEXT release as well. Not sure if some checks are failing. Maybe you may wanna check if you were earlier using DITA 1.1 and not with FM2019 defaulting to DITA 1.3. If you can, try and share a sample with me and i could have a look at the same as well.

 

Thanks

Amitoj Singh

Email: amisingh@adobe.com

Inspiring
October 8, 2019
Thank you for your quick response! How do I check which DITA I am using? And by "sharing a sample" do you mean sending the ditamap to you via email? I would have to check that with my company.
Adobe Employee
October 8, 2019
In source code of dita topic, there should be something on the lines of 1.2 or 1.3 on the first 2 or 3 lines (metadata).