我正在尝试在DITA OT 2.2中使用词汇表
我正在尝试按照发现的说明进行操作 http://idratherbewriting.com/acronyms_and_glossary/
我收到以下消息:
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/frontmatter/trademarks.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/frontmatter/preface.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/chapters/courseauthoringstandards.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/concepts/AICCintro.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/chapters/introduction.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/glossary/aicc.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/glossary/opentoolkit.dita
[gen-list] Processing file:/C:/RAMDrive/build/target/dita/resources/glossary/opentoolkitplugin.dita
[gen-list] [DOTX008E][ERROR] File 'file:/C:/RAMDrive/build/target/dita/resources/glossary/aicc.dita' does not exist or cannot be loaded.
[gen-list] [DOTX008E][ERROR] File 'file:/C:/RAMDrive/build/target/dita/resources/glossary/opentoolkit.dita' does not exist or cannot be loaded.
[gen-list] [DOTX008E][ERROR] File 'file:/C:/RAMDrive/build/target/dita/resources/glossary/opentoolkitplugin.dita' does not exist or cannot be loaded.
[gen-list] Serializing job specification
文件在那里。
C:\RAMDrive\build\target\dita\resources\glossary>dir
Volume in drive C is S3A9477D002
Volume Serial Number is 1E29-E1A2
Directory of C:\RAMDrive\build\target\dita\resources\glossary
26/01/2016 03:04 PM <DIR> .
26/01/2016 03:04 PM <DIR> ..
27/01/2016 01:33 AM 1,020 aicc.dita
27/01/2016 01:33 AM 699 opentoolkit.dita
27/01/2016 01:33 AM 630 opentoolkitplugin.dita
3 File(s) 2,349 bytes
2 Dir(s) 648,265,728 bytes free
我还应该寻找什么?
答案 0 :(得分:0)
您能否创建并上传项目的ZIP文件(或项目的子集)以重现错误?不幸的是,工具包的输出不足以回答你的问题。
<强>更新强>
更改文件的DOCTYPE:
aicc.dita
opentoolkit.dita
opentoolkitplugin.dita
这
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA GLOSSARY//EN"
"../../dtd/glossentry.dtd">
到
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
您不需要使用glossary.dtd
的相对路径,只需使用其文件名即可。
答案 1 :(得分:0)
公共标识符区分大小写。所以你应该改写:
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA GLOSSARY//EN"
"../../dtd/glossentry.dtd">
到
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN"
"../../dtd/glossentry.dtd">
这将解决您的问题。