Community
Participate
Working Groups
RC2. The Web Page Editor does not diagnose a missing </br> although the Help installer requires it.
Could you provide some more details--an example or more complete scenario, as well as which version you're using?
I was using an HTML editor (1st Page) for /org.eclipse.ocl.doc/tutorials/oclinecore/oclInEcoreTutorial.htm and committed revusion 1.1 Oops build failed; DOC not indexable; < not allowed. So I looked for better tooling and found the Web Page Editor. Nice yellow markers for < and > and <p> without </p> etc. (could be more visible with JDT-style LHS warning markers too, but at least they're there.) Committed revision 1.5 trusting the Web Page editor to warn about trouble. No; build fails, because revision 1.5 has a couple of HTML <br> without </br>.
Hi. Is the document XHTML or HTML? HTML allows a <br> without a closing </br>, while XHTML does not allow it. I've tried some simple examples, and when it's XHTML (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">), I get the appropriate warnings. Saving the file generates the problem markers in the vertical ruler on the left.
As far as I can tell, this sounds like a difference between HTML and XHTML.
(In reply to comment #4) > As far as I can tell, this sounds like a difference between HTML and XHTML. Sorry missed the earlier comment. I was indeed editing an HTML document. I guess the problem is the Help installer not diagnosing HTML whrn XHTML required.