we are using Flare and Lingo for writing and sending out our documentation, but our translators are having a hard time importing files from us. At first I thought that their Trados system was - quirky, but then I heard that their import routine works if they add a doctype declaration at the top of every file. now I am trying to find out what to make of this.
I have found that we can enable the doctype tag for generated files in the target in Flare, but what about the source files?
w3.org says:
1 - The document MUST conform to the constraints expressed in the schemas in Appendix D - XHTML 1.1 Schema and Appendix C - XHTML 1.1 Document Type Definition.
2 - The local part of the root element of the document MUST be html.
3 - The start tag of the root element of the document MUST explicitly contain an xmlns declaration for the XHTML namespace [XMLNAMES]. The namespace URI for XHTML is defined to be http://www.w3.org/1999/xhtml.
4 - There MUST be a DOCTYPE declaration in the document prior to the root element.
5 - The start tag MAY also contain a version attribute that declares the version of XHTML in use. The version of this version of XHTML is -//W3C//DTD XHTML 1.1//EN.
madcap source files:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="692" MadCap:lastWidth="661">
1 - I guess is OK
2 - OK
3 - OK, but has a reference to MadCap.xsd.
4 - Fail
5 - OK
Regarding number 3:
Should the namespace declaration be a live link? I get 'page not found' trying to reach it. I know it can be found locally, but does xml tools try to reach it?.
Regarding number 4:
Is the doctype declaration not there because of the madcap namespace in #3?
Hope this didn't get to messy and that a bright mind can shed some light on this.
thank you,
jorgen