Hi
I have 2 very large HTML files sat outside Trados that I want to align and copy to a TM.
Both files are well formed - both Notepad++ and xmllint give no errors when checking my source/target files.
When I add them to an "Align Single File Pair" session, select a memory (which has paragraph segmentation set) I get this error (very soon after starting the alignment):
"Structure tag "MadCap:variable was fund inside inline not translatable tag code. Please ensure only inline tags are defined as children of inline tags".
I created a report of the parent tag for each MadCap:variable tag, and these are the parent elements:
MadCap:toggler
a
cite
code
div
em
h1
h2
h3
h4
li
p
td
Apart from the first one, the rest are plain HTML tags.
If I import my source file into a Project, I can tell Trados to treat the HTML as a MadCap Flare source file. It imports fine.
With the alignment process, you cannot specify how Trados treats the source file. I guess it's because you are working outside of a project? My theory is Trados is treating the file as a plain HTML file - which is NOT what I want.
How can I perform the alignment so that the source file is treated as a MadCap Flare source file? Is there a workaround I am not aware of?
Additionally, can the error message be improved so it is actually useful? I.e., There are 4 really useful items of information that would be helpful in debugging the problem, yet none of them are given in the error message:
1) The file with the problem,
2) The name of the inline tag giving the problem,
3) Line number containing the error
4) column number containing the error.
Thanks for any help you can give.
Mark