FrameMaker Validation of XML Documents

The validation of any Structured document requires a defined set of rules for that particular document type. For valid XML documents, the DTD is used to define the grammar for the family of documents being edited.

This section presents how FrameMaker handles this validation. While the purpose of a DTD is still true, Adobe has developed their own format known as the EDD.

While EDDs contain document grammar rules in a format that is quite similar to DTDs, FrameMaker's rules also include document styling information. This is done as opposed to using a separate style sheet. This report will not go into details on the DTD or EDD. The discussion is limited to how a Structured document is validated in FrameMaker.

The following figure shows the Element Validation window which is open using the Element pull-down menu. In this case, the entire document has been validated.

Example Element Validation window

FrameMaker's Validation supports the following features:

  1. Level of Validation

  2. Ignore Missing Data including:

  3. Define and Clear Special Cases (i.e. exceptions) for the document's rules

If an error occurs during validation the following window would be opened. The window states the Element with a problem and a hint to what might be the issue.

Invalid Document Error Found

The Structure window also shows invalid conditions within the document. In this case RED markers are used to show an error such as a missing or "out-of- order" Element.

Invalid Element in Structure window
Editorial: The Structure window is very useful to track errors as the document is edited.