Page 1 of 1

Missing DOCTYPE in webhelp

Posted: Wed May 29, 2019 10:25 pm
by kmank
Hi,

I noticed I have no DOCTYPE statement in any of our transformed webhelp pages.
Here is the first line in the pages:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:whc="http://www.oxygenxml.com/webhelp/components" whc:version="21.0" lang="en" dir="ltr">

Is there a reason this is absent? I need some guidance locating where that is controlled.

Thanks!

Re: Missing DOCTYPE in webhelp

Posted: Thu May 30, 2019 12:12 pm
by ionela
Hi,

We are not aware of such an issue and we have test on our use manual and the DOCTYPE declaration is present:
https://www.oxygenxml.com/doc/versions/ ... ction.html

Could you please open the HTML you refer to, for example in Oxygen XML text mode and check if you have the DOCTYPE statement?

Regards,
Ionela

Re: Missing DOCTYPE in webhelp

Posted: Thu May 30, 2019 6:38 pm
by kmank
Here is an example:
Image

Re: Missing DOCTYPE in webhelp

Posted: Fri May 31, 2019 11:44 am
by ionela
Hi,

Unfortunately, we could not reproduce this issue on our side in a clean installation of oXygen XML v21.x using the default DITA Map WebHelp Responsive transformation scenario and the built-in DITA-OT.
Do you have any XSL customization? Or do you use a custom DITA-OT?
Could you please try to run the default DITA Map WebHelp Responsive scenario and the built-in DITA-OT (you can try for example on our sample flowers.ditamap) and check if you get the same results. Is the DOCTYPE statement sill missing?

Regards,
Ionela