Diff for File and folder naming

Sat, 2007-11-17 01:16 by syeoSat, 2007-11-17 01:25 by syeo
Changes to Body
Line 11Line 11
 
<ul>
 
<ul>
 
<li>spaces</li>
 
<li>spaces</li>
-
<li>punctuation except for the dot before the file extension</li>
+
<li>punctuation except for the dot before the file extension (punctuation is generally problematic but I'm not sure exactly what the rules are - can anyone give the exact rules?) </li>
 
</ul>
 
</ul>
 
<p>
 
<p>
Line 23Line 23
 
References, such as &lt;xref&gt;, &lt;image&gt; and &lt;topicref&gt; elements, include folder paths. All folder names in these paths must not contain spaces or punctuation.
 
References, such as &lt;xref&gt;, &lt;image&gt; and &lt;topicref&gt; elements, include folder paths. All folder names in these paths must not contain spaces or punctuation.
 
</p>
 
</p>
-
<p>
+
<h1>File locations</h1>
-
&nbsp;
+
All files must be stored on the same drive letter. The DITA Open Toolkit cannot resolve references across drive letters.
-
</p>
+
-
<h1>File locations</h1>All files must be stored on the same drive letter. The DITA Open Toolkit cannot resolve references across drive letters.
+
 
 
Revision of Sat, 2007-11-17 01:25:

File and folder naming

Although the DITA standard itself does not set rules about file and folder naming, the DITA Open Toolkit has strict requirements for file and folder names. Problems with file and folder names may cause publishing to fail.

It is best to set guidelines about file and folder naming conventions before you start creating references such as <topicref>s in maps, as references include file names and folder paths.

File naming rules

The following rules apply to DITA topic files, map files, and all files referenced into a project such as image files. The DITA Open Toolkit does not support file names that contain:

  • spaces
  • punctuation except for the dot before the file extension (punctuation is generally problematic but I'm not sure exactly what the rules are - can anyone give the exact rules?)

Topic files must have the extension .xml or .dita . The Open Toolkit cannot handle a mixture of topic files with .xml and .dita extensions, so organizations should pick one and standardize on it.

DITA map files must have the extension .ditamap .

Folder naming

References, such as <xref>, <image> and <topicref> elements, include folder paths. All folder names in these paths must not contain spaces or punctuation.

File locations

All files must be stored on the same drive letter. The DITA Open Toolkit cannot resolve references across drive letters.
XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I