Re: specialization and lightweight DITA #specialization

Radu Coravu

Hi Eric,

The "nbsp" entity is a deprecated entity but it's still part of the DITA DTDs, it is still defined in the DITA 1.3 DTDs defined in the module file:


<!-- Use of this entity is deprecated; the nbsp entity will be
     removed in DITA 2.0.                                          -->
<!ENTITY nbsp                   "&#xA0;"                             >
I think the only way to avoid defining it would be for them to have their own "topic.mod" in their DTD specialization.

Usually in cases in which you want to prohibit certain constructs, Schematron checks would prove useful but in this case the entity reference is expanded by the processor before the Schematron checks are applied so you cannot test with Schematron if an entity reference is present or not.



Radu Coravu
Oxygen XML Editor
On 6/23/20 6:59 PM, Eric Sirois wrote:

No, nbsp is not part of the DITA dtds. Most folks avoid entities like Covid-19. 

So someone either added it to the DTDs or it’s getting picked from somewhere else. Possibly MathML DTDs I think they have a file that defines a whole bunch of entities.


On Tuesday, June 23, 2020, 11:36 AM, Westley W. <wamsley@...> wrote:

Tagging onto this topic; I'm new to this group.  I'm on DITA 1.2, and I have a scenario where I need to remove &nbsp; as an entity.  Would this be a situation where I can apply a constraint?

Join to automatically receive all group messages.