Search found 87 matches

by msambasiva
Thu Oct 15, 2020 10:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: href to section title element breaking
Replies: 3
Views: 1124

href to section title element breaking

Hi, DITA-OT-2.4.6 We have custom plugin for HTML output based outof org.dita.html5. We have a broken link to a section title in the HTML output. The two links are failing. Can we have href to any element id? or is there any restrictions to href value? Below is the sample, <section> <title id="G...
by msambasiva
Tue Sep 22, 2020 6:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 1106

Re: Extra period with empty title - Figure 1. .

Can someone confirm if it is a known issue? i.e empty tile creates extra period (i.e Figure 1..)
Thanks,
Samba.
by msambasiva
Mon Sep 21, 2020 10:48 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 1106

Re: Extra period with empty title - Figure 1. .

We are performing HTML5 transformation (org.dita.html5).

Thanks,
Samba.
by msambasiva
Mon Sep 21, 2020 9:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Extra period with empty title - Figure 1. .
Replies: 4
Views: 1106

Extra period with empty title - Figure 1. .

Hi, DITA OT 2.0 Below are the different scenarios tested with/out title element under <fig>. We are getting extra period with empty title which we are not expecting. It would be great if you can suggest any clue on the issue to avoid extra period (i.e Figure 1..) with empty title(i.e<title/>). Scena...
by msambasiva
Tue Sep 01, 2020 11:08 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 2238

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

/uae/java/current/bin/java \
'TransformUsingXMLSchema' \
'/h/uaework/staging/docs/03/s20062603/en/Recruiting_Cloud.xml' \
'/h/uaework/custom/doctypes/CommonDita/xsl/fusion2dita.xsl' \
'/h/uaework/staging/docs/03/s20062603/en/Recruiting_Cloud/Recruiting_Cloud.ditamap' |
by msambasiva
Tue Sep 01, 2020 11:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 2238

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Those variables are strings as below,
String xmlDoc;
String xsltDoc;
String htmlDoc;
Thanks,
Samba.
by msambasiva
Tue Sep 01, 2020 10:29 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 2238

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Here is the java code used to transform, void transform() throws Exception { // Since we're going to use a SAX feature, the transformer // must support input in the form of a SAXSource. TransformerFactory tfactory = TransformerFactory.newInstance(); if(!tfactory.getFeature(SAXSource.FEATURE)) throw ...
by msambasiva
Wed Aug 26, 2020 4:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 2238

Re: xsl:result-document : Invalid URI syntax: URI is not absolute

Thanks Radu!. I will check on TransformUsingXMLSchema and get back to you!!
by msambasiva
Tue Aug 25, 2020 1:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: xsl:result-document : Invalid URI syntax: URI is not absolute
Replies: 8
Views: 2238

xsl:result-document : Invalid URI syntax: URI is not absolute

Hi All, DITA-OT 2.4.6 Below is the template to create a ditamap for each chapter in conversion of xml to generic dita. It's working fine in my local laptop. When I deploy the code to our linux server, and run the conversion process, it's failing with below error message. Running: /uae/java/current/b...
by msambasiva
Tue Jul 07, 2020 2:41 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5139

Re: Open Office XML for dita topic

Thanks Radu!
Its working fine. Able to draft print a topic to word output. It's really great help!!
by msambasiva
Tue Jul 07, 2020 12:08 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5139

Re: Open Office XML for dita topic

Thanks Radu. Its working with project.setUserProperty('args.input', ....); Some how I cant able to create temp folder under DITA OT of Oxygen. Is it ok if we create temp folder some thing below using ENV variable. Pls suggest if there is a best option to create temp directory on Windows using build ...
by msambasiva
Mon Jul 06, 2020 11:55 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5139

Re: Open Office XML for dita topic

Thanks Radu. I can't able to reset the args.input parameter value. Below is the corresponding code & console log, <target name="dita2topicdocxOHC.init"> <propertyreset name="args.input" location="${input.dir}\custom_map.ditamap"/> <propertyreset name="temp"...
by msambasiva
Mon Jul 06, 2020 5:01 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5139

Re: Open Office XML for dita topic

Hi,

Able to print the value of
args.input
but not
args.input.dir
. . Below is console message,

[echo] ** args.input= D:\PROJECTS\Oxygen_draft_printing\topic2docx\testing\preface.ditamap
[echo] ** args.input.dir= ${args.input.dir}

Please suggest any clue on this.

Thanks,
Samba.
by msambasiva
Sun Jul 05, 2020 1:51 pm
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5139

Re: Open Office XML for dita topic

Hi Radu, It's been long time once again got a chance to revisit this topic. Iam trying with second option i.e custom script or build file which automatically creates a DITA Map, refers in it the current topic and then continues the publishing on this temporary DITA Map. I can able to create a dita m...
by msambasiva
Thu Jun 25, 2020 11:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 3188

Re: DITA-OT Custom jars

Thanks Radu! We found that, even ANT command also able to load the jars placed within the plugin (instead of DITA-OT\lib) by setting refid="dost.class.path" of classpath element as below. <java classname="com.mycompany.exceltoxml.EntryPoint"> <classpath refid="dost.class.pat...
by msambasiva
Tue Jun 09, 2020 12:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 3188

Re: DITA-OT Custom jars

Hi, I got struck with importing jars present in <our-plugin>/lib folder. Below is the url of having similar problem https://stackoverflow.com/questions/58857784/how-to-add-a-plugin-jar-into-the-dita-ot-classpath I finally nailed what was wrong with my DITA OT configuration. I was using an ant build ...
by msambasiva
Wed Jun 03, 2020 10:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 3188

Re: DITA-OT Custom jars

Hi, We have created a separate plugin uae.dita.resources to have resources like libraries and xml. Below is the feature element having reference to resources plugin. <feature extension="dita.conductor.lib.import" file="${dita.plugin.uae.dita.resources.dir}/resources/lib/log4j-api-2.13...
by msambasiva
Tue May 26, 2020 6:39 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 3188

Re: DITA-OT Custom jars

Thanks Radu! There are some dependent jars like log4j-api-2.13.2.jar, log4j-core-2.13.2.jar,commons-codec-1.10.jar etc which are not part of default DITA-OT installation. Can we use the same extension dita.conductor.lib.import for number of times to include all the dependent jar? Could you suggest b...
by msambasiva
Thu May 21, 2020 11:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: DITA-OT Custom jars
Replies: 9
Views: 3188

DITA-OT Custom jars

Hi, DITA-OT 2.4.6 We have developed a DITA-OT plugin which is using custom jar. The custom jar itself using some other third party jars. So to make it work, I am copying the custom jar & dependent jars into <DITA-OT>/lib. How best we can avoid manually copy the custom jar & dependent jars in...
by msambasiva
Fri May 15, 2020 6:08 am
Forum: SDK-API, Frameworks - Document Types
Topic: Migration of custom DITA-OT plugins
Replies: 1
Views: 1110

Migration of custom DITA-OT plugins

Hi, We are using Oxygen XML Editor/Author 22.0. We have DITA-OT custom developed plugins for HTML/PDF/OOXML output. It's difficult for information developers to add/install custom DITA-OT plugins every time they have latest version of Oxygen. Can we add/install DITA-OT custom plugins as an add-ons i...
by msambasiva
Thu May 07, 2020 5:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Hi Alex,
Apologize for inconvenience. Please ignore my previous issue. The root cause of issue is missing of REST API jar in [OXYGEN]\lib folder.
Thanks,
Samba.
by msambasiva
Thu May 07, 2020 1:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Hi Alex, When I run the application in debug mode (using plugin.redirect) , its working as expected by Swing form opening perfectly. But when I run by deploying the jar into plugs folder or added as an add-on, then unable to open the form on menu button click. I've used model form by extending JDial...
by msambasiva
Mon May 04, 2020 12:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Thanks Alex!
It helped me a lot. Able to fix the issue.
by msambasiva
Wed Apr 29, 2020 1:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Hi Alex, Here is the logic, MetadataForm mForm = new MetadataForm(); mForm.display(); Opens the Form with display() method call. Then user can fill the form and submit it.So there is no data with getData() method call. MyFormData data = mForm.getData(); insertInDitamap(data); I hope, there should be...
by msambasiva
Wed Apr 29, 2020 5:33 am
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 2854

java vs javascript with Oxygen SDK

Hi, As I understand, we can use either java or javascript with SDK to customize the Oxygen features. Please correct me if I am wrong. I am basically a java developer. Please let me know if I need to learn javascript to work with Oxygen SDK. If required, can we use javascript framework with Oxygen SD...
by msambasiva
Tue Apr 28, 2020 4:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Hi, Able to open a swing form from CustomWorkspaceAccessPluginExtension.java using below logic, @SuppressWarnings("serial") private AbstractAction createShowOpenMetadataformAction( final StandalonePluginWorkspace pluginWorkspaceAccess) { return new AbstractAction("Open Metadata Form&q...
by msambasiva
Mon Apr 27, 2020 4:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Thanks a lot Alex!
Finally able to debug my code.
I missed to start oxygen from eclipse. Its my bad!
by msambasiva
Fri Apr 24, 2020 3:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Thanks Alex for quick response! I am looking for adding breakpoints in the eclipse java project code. I've taken ShowSelection plugin as a maven startup project. I've followed instructions given in https://www.oxygenxml.com/doc/versions/22.0/ug-editor/topics/debug-plugin.html 1) I've created eclipse...
by msambasiva
Fri Apr 24, 2020 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4054

Re: Insert metadata into ditamap using SDK

Thanks Alex!
I am using eclipse as IDE Version: 2020-03 (4.15.0). Could you suggest any pointer to help in debugging the java code in Oxygen Editor?