https://bz.apache.org/bugzilla/show_bug.cgi?id=62650
Bug ID: 62650
Summary: ampersand entity in jspx
Product: Tomcat 9
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
In jspx The & entity is incorrectly processed and leads to
XML Parsing Error: not well-formed
example.jspx
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page"
>
<jsp:output doctype-root-element="html"
doctype-public="-//W3C//DTD XHTML Basic 1.0//EN"
doctype-system="http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"/>
<jsp:directive.page contentType="application/xhtml+xml" />
<head>
<title>ampersand example</title>
</head>
<body>
<h1>Ampersand example</h1>
<p>& here it is</p>
<p>& and also here</p>
</body>
</html>
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]