Oxygen with Astorioa, attibute value, proxy problem?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
grenley
Posts: 3
Joined: Wed Jan 15, 2014 8:46 pm

Oxygen with Astorioa, attibute value, proxy problem?

Post by grenley »

I am migrating from XMetaL to Oxygen, both using Astoria as the CMS. I have XML Editor 15.0, build 2013061418.

I have a DITA concept topic that builds when I use the DITA-OT bundled with XMetaL, but it fails when I try with Oxygen. It says it does not like:

Code: Select all


<concept id="Add_ID" xml:lang="en_US" xmlns:ast="http://www.astoriasoftware.com/warmedit_v1.0" ast:aid="00000023WHGB3CA912020GYZ" ast:anno="can">
In particular it says that attribute xmlns:ast must be declared for element type concept. It looks plenty declared to me. Any ideas?

George
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen with Astorioa, attibute value, proxy problem?

Post by Radu »

Hi George,

As you saw for yourself Astoria adds to certain DITA elements specific attributes which are not defined in the DITA standard like:

Code: Select all

xmlns:ast="http://www.astoriasoftware.com/warmedit_v1.0" ast:aid="00000023WHGB3CA912020GYZ" ast:anno="can"
When editing the topic in the Oxygen editor, Astoria has certain extensions set up which avoid showing you error messages for these extension attributes when the topic is validated.
But when the DITA Open Toolkit publishing is started, it starts as a separate process which tries to also validate each topic against the DITA specification and because of those attributes it fails.
You can edit the transformation scenario you are using to publish and in the Parameters list set the validate parameter to no. From what I tested this should be enough for you to obtain the output.

Out of curiosity, doesn't Astoria have its own way to publish output from the CMS side?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
grenley
Posts: 3
Joined: Wed Jan 15, 2014 8:46 pm

Re: Oxygen with Astorioa, attibute value, proxy problem?

Post by grenley »

Well, that changed the results, but I am not out of the woods yet....

Code: Select all

BUILD FAILED
C:\Program Files\Oxygen XML Editor 15\frameworks\dita\DITA-OT\build.xml:53: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Editor 15\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\build.xml:165: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Editor 15\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\build.xml:342: Fatal error during transformation
Not sure what lines it means. In the log file, line 165 is:

Code: Select all


[copy] Copying 2 files to C:\Users\212339221\Documents\_SampleOutputs
and line 342 is:

Code: Select all


[pipeline] [DOTX008E][ERROR] File 'C:\Users\212339221\Documents\_SampleOutputs\OxygenTemp\t1\t2\t3\t4\t5\asthttp:\usmkeastor04d1.od.health.ge.com\astoria\_id_00000018WHAB30D71GYZ_t_Service_Authentication_WSO2IdentityServerConfiguringXACMLPolicies_TechNote.xml' does not exist or cannot be loaded.
Which certainly sounds more serious. There are actually about 50 lines like this, each referencing a file it says it cannot find.

I can open the individual "missing" topics and create PDF, so I am a bit puzzled...

One factoid that might be related: I am behind a proxy server, so I have manually configured the proxy settings. However, when I check for a new version, it fails and says to check notword and proxy settings. I'm quite confident of the proxy settings in general, as I have used them in Eclipse, Maven, and other programs. Is there anything else I need to do?
grenley
Posts: 3
Joined: Wed Jan 15, 2014 8:46 pm

Re: Oxygen with Astorioa, attibute value, proxy problem?

Post by grenley »

To answer your other question, yes, Astoria is supposed to be able to create output. The Astoria system I use is managed elsewhere, and apparently output generattion has not been installed or enabled or something. I don't really know.

This does lead to my next question: My XMetaL installation has some customization in its DITA-OT engine, and some special fonts and such. I will need to migrate these to the DITA-OT engine that my copy of Oxygen is using. I can't figure out where Oxygen keeps its DITA-OT instance. Could you advise?

Thanks!
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen with Astorioa, attibute value, proxy problem?

Post by Radu »

Hi George,

Oxygen 15's bundled DITA OT (DITA OT 1.7) is located here:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT

You need to know what DITA OT comes with XMetal also, it might be an older one and the customizations might not just work copied from one DITA OT to the other.

But you also can keep an external DITA OT and refer to it in the transformation scenarios:

http://www.oxygenxml.com/doc/ug-oxygen/ ... ta-ot.html

So you could also try to refer to the external DITA OT (maybe the one which comes with XMetal) in the transformation scenario and give it a try.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen with Astorioa, attibute value, proxy problem?

Post by Radu »

Hi George,

Coming back to the failed transformation with the DITA OT bundled with Oxygen, I would need to look over the entire output received in the DITA OT Transformation console view in order to get an idea what could be wrong, you can send it to support@oxygenxml.com.

About the proxy problem, I do not know why this would not work if properly configured.
If in the main Oxygen menu bar you use the File->Open URL action to open an URL like http://www.oxygenxml.com, does it open for you? If not, what error do you obtain?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply