cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Arbortext Editor being too helpful

ptc-953926
1-Visitor

Arbortext Editor being too helpful

Adepters:

One of our authors using AE 5.4, patch M080, found a new way to get around the lack of a text entity in their list of those available from the text entity dialog. Simply copy and paste one from another document (that uses a different set of text entities). Well, AE 5.4 sees this as no problem and simply adds the new text entity declaration to the doctype header, making the document valid. Unfortunately, our CMS process strips the entire doctype header before checking the source back into the repository. Of course, the next time it is checked out, the document is no longer valid as the text entity reference is not defined.

My question, is there any way to prevent AE 5.4 from allowing this sort of action? Basically, we want to prevent any local text entity declarations from appearing in the doctype header.

Thanks,
Dave
1 REPLY 1

Hi Dave--



You might be able to set something up using the "paste" document
callback. In the callback you would need to check the paste buffer
contents for unwanted entity references, and if any are found you can
block the paste with a warning. Look up the doc_add_callback() function
in the Help Center for details on how to set it up.



--Clay





Clay Helberg

Senior Consultant

TerraXML


Announcements

Top Tags