W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

problem validating jsp page

From: Stefano Roccetti <ste_it@yahoo.com>
Date: Thu, 8 Jul 2004 17:24:56 +0200 (CEST)
Message-ID: <20040708152456.44218.qmail@web40302.mail.yahoo.com>
To: www-validator@w3.org
Cc: www-validator@w3.org

I'm trying to validate this jsp page:

http://www.unipg.it/_neuf/pag/statutoRegolamenti.jsp
 
but Validator says that some end tag was omitted.

Checking the source listing I can see the last piece of html code is
missing. However the page is correctly shown on my web browser and also
the html source is valid (I saved it as a html file that results
valid).

So, why didn't Validator get the full html code generated by jsp?

My jsp code:
----------------------------------------------------------------------
<!--TEMPLATE 2_1-->
<%@ include file="../templates/template2_1.jsp" %>

<!--SNIPPET CONTENT-->
	<%@ page import="javax.xml.transform.*" %>
	<%@ page import="javax.xml.transform.stream.*" %>
	<%
	try {
		String xmlFile = dataPath + "statutoRegolamenti.xml";
		String xslFile = dataPath + "statutoRegolamenti.xsl";
		TransformerFactory tFactory = TransformerFactory.newInstance();
		Transformer transformer = tFactory.newTransformer (new
StreamSource(xslFile));
		transformer.transform (new StreamSource(xmlFile), new
StreamResult(out));
	} catch (Exception e) {
		out.print(e);
	}
	%>

!--TEMPLATE 2_2-->
<%@ include file="../templates/template2_2.jsp" %>
----------------------------------------------------------------------

Validator stops after xml/xsl transformation. After this point
everything is omitted, html comments too.

Can anyone help?

Thanks in advance!

stefano


	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it
Received on Friday, 9 July 2004 05:10:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT