Jump to content
We've recently updated our Privacy Statement, available here ×

HTML1508: Unmatched end tag


AndreC

Recommended Posts

Hi,

I've noticed that IE is reporting lots of those messages in the jasperserver repository page.

 

HTML1300: Navigation occurred.File: j_spring_security_check DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337File: login.htmlHTML1500: Tag cannot be self-closing. Use an explicit closing tag.File: flow.html, Line: 1150, Column: 17HTML1508: Unmatched end tag.File: flow.html, Line: 1160, Column: 134HTML1508: Unmatched end tag.File: flow.html, Line: 1332, Column: 133HTML1508: Unmatched end tag.File: flow.html, Line: 1333, Column: 147HTML1508: Unmatched end tag.File: flow.html, Line: 1334, Column: 125

 

 

after looking at the source I see that the message are rights as some <span> tags are not all closed;

see example here;

 

    <t:putAttribute name="footerContent">            <button id="addFolderBtnAdd" class="button action primary up" tabindex="3"><span class="wrap"><spring:message code="dialog.addFolder.add" javaScriptEscape="true"/></span><span class="icon"></span></button>            <button id="addFolderBtnCancel" class="button action up" tabindex="4"><span class="wrap"><spring:message code="dialog.file.cancel" javaScriptEscape="true"/><span class="icon"></span></button>    </t:putAttribute>

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

JasperReport Server 5.2 as well as 5.5

 

Using IE 11 on Windows 8.1 if you open the Console.

 

Looking at webapps/jasperserver/WEB-INF/jsp/templates/addFolder.jsp you will notice that many tags are not matched properly.

 

Line 56:

See here how the it is closed twice.. it should look like this;

or

 

Line: 62

 

Here the tag span is open, then spring (self close) then span open again, then close than button close...

There is one missing. (the line 61 is good)

should look like this;

 

 

I found plenty more in other jsp from the same directory. If you open them in Eclipse and that it is configure for validation you should see all these.

 

Some browser just ignore the errors but still this is not good html.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...