forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian M Dube <>
Subject Re: error msg should be logically inverted?
Date Thu, 29 Jun 2006 01:54:32 GMT
Terrence Brannon wrote:
> On line 185 of my xml document I have this:
> <img width="88" height="31" border="0" src="btn88-bm.gif" alt="Tune In 
> Bluemars."/>
> But the error message says this:
> /C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/music.xml:185:86:

> Attribute "border" must be declared for element type "img".
> The bolding of the word "must" is by me. I'm thinking it should say must 
> not because removing it allows the line to parse successfully.

The error message means the attribute must be declared by the document's 
  schema. XDoc declares no such attribute for this element; it is 
therefore unknown to the parser. The wording of the error message comes 
from the parser and is not Forrest specific.

CSS is a good choice for presentational details such as borders. The 
XDoc DTD is available [1] for reference.



View raw message