Skip to main content
1-Visitor
July 27, 2012
Question

Arbortext Editor auto-defines entities

  • July 27, 2012
  • 1 reply
  • 690 views
Adepters:

When a user copies and pastes content from one document to another and the target document does not have definitions for entity references in the copied content, Arbortext Editor auto-defines these entities and inserts them in the internal subset. How do I stop this behavior. We want Arbortext to immediately report an error for undefined entities and turn off context rules.

Dave Hintz
Siemens

    1 reply

    18-Opal
    July 27, 2012
    Hi Dave--



    You might be able to use a "paste" document callback to check the paste
    buffer for entity references, and check each one to see if it is defined
    for the target document; if not, you can abort the paste with a warning
    message. See the help center topic for "doc_add_callback" for details on
    how to set up this kind of callback.



    --Clay





    Clay Helberg

    Senior Consultant

    TerraXML