id summary reporter owner description type status priority component severity resolution keywords cc release 3981 newsflashmacro produces invalid xhtml-strict when used in the !NewsFlashStart/!NewsFlashEnd notion jholg Ryan J Ollos "When using NewsFlashMacro in the !NewsFlashStart/!NewsFlashEnd notion, I get invalid xhtml-1.0-strict on a previously clean trac page: Validation Output: 7 Errors 1. Error Line 87, Column 22: document type does not allow element ""div"" here; missing one of ""object"", ""ins"", ""del"", ""map"", ""button"" start-tag. {{{
✉ The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. One possible cause for this message is that you have attempted to put a block-level element (such as ""

"" or """") inside an inline element (such as """", """", or """"). 2. Error Line 88, Column 3: end tag for ""div"" omitted, but OMITTAG NO was specified.

✉ You may have neglected to close an element, or perhaps you meant to ""self-close"" an element, that is, ending it with ""/>"" instead of "">"". 3. Info Line 87, Column 0: start tag was here.
4. Error Line 90, Column 5: end tag for ""p"" omitted, but OMITTAG NO was specified.
✉ }}} You may have neglected to close an element, or perhaps you meant to ""self-close"" an element, that is, ending it with ""/>"" instead of "">"". 5. Info Line 89, Column 0: start tag was here. {{{

}}} 6. Error Line 91, Column 3: end tag for element ""p"" which is not open. {{{

✉ }}} The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. If this error occurred in a script section of your document, you should probably read this FAQ entry. 7. Error Line 130, Column 9: end tag for element ""div"" which is not open. {{{ ✉ }}} The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. If this error occurred in a script section of your document, you should probably read this FAQ entry. 8. Error Line 88, Column 4: XML Parsing Error: Opening and ending tag mismatch: div line 87 and p. {{{

✉ }}} 9. Error Line 90, Column 6: XML Parsing Error: Opening and ending tag mismatch: p line 89 and div. {{{ ✉ This does not happen if I use the {{{ {{{ #!NewsFlash }}} }}} }}} syntax, which seems to be the recommended way. Cheers, Holger " defect closed normal NewsFlashMacro minor wontfix xhtml, xhtml-strict 0.11