Hi group members,
One of my user requested me to remain @conref attributes in the merged middle file for the PDF output.
In the final publication the conref information is not needed at all. However in the user review process, the conref attribute is very useful for verifying the authoring.
So I decided to rebuild the DITA-OT 1.7.5 dost.jar by myself.
Following is my execution steps. Please advice me that they are correct.
1. Clone the DITA-OT from GitHub. Thne checkout the tag named 1.7.5.

2. Copy the dita-ot directory to other working directory and modify the Java source code. In this case I added following 4 steps to DItaWriter.java.
String conkeyref = atts.getValue(ATTRIBUTE_NAME_CONKEYREF);
if(conkeyref != null && conkeyrefValid){
XMLUtils.addOrSetAttribute(res, "conkeyref_org", conkeyref);
}
3. Build dost.jar by invoking ant using dita-ot/build.xml

4. The dost.jar file successfully generated in the dita-ot/src/main/lib directory.
5. By using this dost.jar file I can get the following merged middle file (xxx_MERGED.XML) in the temporary directory.
<keyword class="- topic/keyword "
conkeyref_org="MODEL_NUMBER/TOUCH_SCREEN_MODEL"
xtrf="D:\My_Documents\XML2014\Acme\ja-JP\workset\GUID-C53AFB47-CE00-46BF-A9E5-E749071D4921.xml"
xtrc="keyword:17;70:82">
<text class="- topic/text "
xtrf="D:\My_Documents\XML2014\Acme\ja-JP\workset\GUID-C53AFB47-CE00-46BF-A9E5-E749071D4921.xml"
xtrc="text:28;70:144">QRJ-J2460D</text>
</keyword>
And here are my additional questions. I compared new and old dost.jar. I found that there are several differences. Is it no problem?
1. META-INF/MANIFEST.MF have different Implementation-Version.
dost.jar with original DITA-OT 1.7.5: Implementation-Version: 1.7.5
dost.jar built by me: Implementation-Version: 1.7.3
2. resource/messages.xml is missing in my dost.jar.
3. Many .class file size differs. This may be caused by used JDK version.
dost.jar with original DITA-OT 1.7.5 was built by 1.7.0_09-b05 (Oracle Corporation)
My dost.jar was built by Created-By: 1.7.0_60-b19 (Oracle Corporation
Any suggestions are welcome.
Regards,
Toshihiko Makita