It's preferable to use tm element instead of ® character.

Post here questions and problems related to oXygen frameworks/document types.
vishwavaranasi
Posts: 33
Joined: Fri Feb 28, 2020 4:02 pm

It's preferable to use tm element instead of ® character.

Post by vishwavaranasi » Mon Jan 18, 2021 4:29 pm

Hello Team , we have our custom DITMAP and topics from extension of DITAMAP and DITA , and we have our own schematron rules to validate.
when we validate our files we have seen these warnings

It's preferable to use tm element instead of ® character.
It's preferable to use tm element instead of ™ character.

We want this is to ignored and not to show either warning or error.

How to fix this?

Thanks,
vishwa
Thanks,
vishwa

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

Re: It's preferable to use tm element instead of ® character.

Post by Radu » Tue Jan 19, 2021 9:58 am

Hi,

There is a schematron schema located in:

OXYGEN_INSTALL_DIR/frameworks/dita/resources/dita-1.2-for-xslt2-other.sch

which in Oxygen versions older than 23.0 is used by default for manual validation of DITA topics.
In the Oxygen Preferences->"Document Type Association" page if you edit your custom framework extensions, in the "Validation" tab you have a validation scenario configured, if you edit that validation scenario one of the validation stages should be validation with the Schematron resource I mentioned above, validation stage which you can delete from the validation scenario.

https://www.oxygenxml.com/doc/versions/ ... arios.html

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

Post Reply