General XMetaL Discussion

  • elias

    Tuning XMAX for dtd

    Participants 0
    Replies 1
    Last Activity 11 years, 1 month ago

    Hello!
    When I use xml files within XMetaL 6.0, it does not request dtd path so often in comparison to XMAX 6.0.
    How should I tune XMAX in order to minimize fails in opening xml files when XMetaL is installed in the system?
    For example, xml can contain string.
    It works fine in XMetaL editor, but fails in XMAX:
    —————————
    XMetaL XMAX Sample
    —————————
    The “topic.dtd” could not be found.
    The document will be opened as well-formed.
    —————————
    ОК  
    —————————

    Can I set up the required folders for standard DTDs?

    Reply

    Derek Read

    Reply to: Tuning XMAX for dtd

    XMetaL Author Enterprise includes a full authoring solution for DITA, this means we ship the OASIS DTDs and a full customization for authoring DITA documents. A set of catalog files exists for Author and proper entries to allow the product to locate where we have installed the DTDs are also included (this is why the DOCTYPE declaration you have pasted here works, when topic.dtd is not located in the same folder as the XML document the PUBLIC ID is looked up in the catalog files in order to locate the DTDs).

    With XMAX you build this entire system yourself. If you wish to incorporate XMAX into your application, or build an application around XMAX and wish to provide similar functionality you need to build that into your application, including any possible catalog or other redirection methods for locating DTDs. Any samples you may be using (provided by us or 3rd parties) may not contain similar functionality (to XMetaL Author). There are many ways to handle this type of scenario and the one you end up using should be chosen based on your own environment and requirements.

    It is the application that is hosting XMAX that will typically be coded to know about the file system, where the application is installed and any paths relative to it that you might call “required folders”.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support