Adobe GOLIVE CS2 User Manual page 601

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

Select the DTDs in the Comply With list:
3
Well-formedness Only
Checks your document for compatibility with well-formedness standards, but not for
compatibility with a DTD or browser set. For example, the Syntax Checker generates error messages for required
closing end tags that are missing, attribute values that are required to be enclosed in brackets, or when an attribute
is defined more than once. When checking for well-formedness only, the Syntax Checker doesn't generate error
messages for closing end tags that are not required, or for attribute values that are not required to be enclosed in
brackets.
!DOCTYPE assigned
Checks compliance with the DTD for the doctype declared for the document. To use this
option, you must have already specified a doctype for the document. (See "Setting the document type definition" on
page 161.) The Syntax Checker uses the !DOCTYPE declaration to locate the DTD, which can be on your computer,
on a local network, or on the Internet.
Note: If the DTD specified for your document is on the Internet, GoLive checks whether the DTD is already cached. If it
is, GoLive uses the cached DTD. If it isn't cached, GoLive displays an alert asking you for permission to access the
Internet. If you agree, GoLive downloads the DTD. If you refuse permission, GoLive checks your document for well­
formedness, but does not check for compliance with the DTD. The cache is cleared when you quit GoLive.
A particular DTD (such as HTML 4 Strict)
If you added custom elements or attributes to the Markup tab in Web Settings that are not defined in a DTD, select
4
Elements in the Additionally Allowed list.
If you want to allow any additional elements in your document, select the sets of elements in the Additionally
5
Allowed list.
To control what to check for and how the Syntax Checker works, select either of the following options:
6
Checks for syntax warnings. For example, GoLive displays a warning if the value of an attribute is
Show Warnings
invalid, such as <body bgcolor= "redd">. Warnings are much less common than errors.
Show Errors
Checks for syntax errors. The Syntax Checker displays an error if it can identify incorrect HTML
syntax, or if your document is not compliant with the specified DTD. For example, the Syntax Checker displays an
error if your document contains a start tag without a corresponding end tag. For most problems, the Syntax Checker
displays errors.
Click OK.
7
GoLive displays errors and warnings in the Syntax Check window, as well as highlighting the errors and warnings in
the Source and Outline editors. The Highlight tab in the View palette also opens and displays the total number of
errors and warnings.
Correct each error, and then follow the steps to check your source code again.
8
9
Do one of the following:
To close the Syntax Check window, click OK.
To create a collection of the syntax results in the currently open site, click Save Collection.
See also
"Collections" on page 435
Checks compliance with that DTD.
ADOBE GOLIVE CS2
592
User Guide

Advertisement

Table of Contents
loading

Table of Contents