[OCF] Re: DTD nitpicks
Lon Hohberger
lhh at redhat.com
Thu Aug 5 12:23:20 MDT 2004
On Thu, 2004-08-05 at 13:39 -0400, Lon Hohberger wrote:
> (Side note: the DTD specifies "verify-all"; the text of the draft
> specifies "validate-all"... need to pick one.)
* Newer versions of xmllint like to have a document encoding specified
for the DTD, I think. E.g.
<?xml version="1.0" encoding="ISO-8859-1"?>
* The "special" element as a child of the "resource-agent" element might
better be 0 or more, not exactly one. As it exists at the moment, the
DTD prevents a single RA from being configured to run on multiple
different RMs where different "special" elements are required. Fix
would be:
<!ELEMENT resource-agent (version,parameters,actions,special*) >
* Might be better served to have the longdesc/shortdesc elements be
text-only for 1.0 (1.1?), unless embedding HTML or other typesetting is
desired.
<!ELEMENT longdesc (#PCDATA)>
<!ELEMENT shortdesc (#PCDATA)>
-- Lon
More information about the OCF
mailing list