Skip to main content
Jul 27, 2012 7:58 PM UTC
Question

Arbortext Editor auto-defines entities

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

    Jul 27, 2012 8:08 PM UTC
    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