- This topic has 7 replies, 3 voices, and was last updated 16 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
Peter L. BergholdMemberThe following HTML code generates an error for the final ending paragraph tag indicating that there is no start tag. Unless my lack of sleep has truly rendered me cross-eyed, I do believe there is a matching start and end tag for that final paragraph tag. This isn’t the only instance where I’m getting false alerts for unmatched tags.
<p>In a clear voice call out the names of the dogs in the running order that are getting ready for the ring. <ul> <li> "Buffy on the line!"</li> <li> "Fluffy on deck!"</li> <li> "Scruffy in the hole!"</li> <li> "Clyde in the abyss!"</li> </ul> This will serve to communicate to the Assistant Scribe and Scribe what dog to expect in the ring and in what order and avoids having delays in running because the Scribe has the wrong sheet! </p>
Riyad KallaMemberHmm, what does the whole page look like? I’ll copy paste it into my install locally and see what is going on (if you can’t share that info, try and create a small sample HTML page that exhibits the same problem)
Charles RothMemberI see this error a lot also, but only in medium-ish JSP pages. I’ve posted full details at http://thedance.net/~roth/ECLIPSE. Any thoughts welcome.
Charles RothMemberGrr, it took the end-of-sentence period as part of the URL. Try this one: http://thedance.net/~roth/ECLIPSE
Riyad KallaMemberRoth, unfortunately I can’t do much with that JSP… it’s so laden with errors (custom classes, taglibs, etc.) that I don’t have access to, that digging out the paragraph errors is a pain.
One tip I would give, is that the HTML validator doesn’t understand conditional constructs in your JSP pages. So if you are using <%if()%> or logic taglibs to managing ending tags, that will goof it up.
Charles RothMemberUnderstood. I found a *much* smaller and simpler example, and I have updated the page to show it. http://thedance.net/~roth/ECLIPSE — you may want to hit “reload” just to be certain.
Charles RothMemberTaking out the <div>s just inside the paragraph makes the error go away. Darned if I know why.
Riyad KallaMemberroth,
<p> cannot contain any block level elements, which includes div’s, span’s, or other p’s (or table’s). For reference:
http://www.w3.org/TR/html401/struct/text.html#h-9.3.1 -
AuthorPosts