I didn't know that XML required internal document types to declare the
root element.
see bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=28207
seems tomcat guys like this stupid feature very much, even it is very easy
add an option to disable those kind validation in production env. I
Hi
Is the following code correct?
jsp:element name=fo:table-column
jsp:attribute name=column-width
jsp:expressionwidths[i]/jsp:expression
/jsp:attribute
jsp:scriptlet
if (bgColors[i] != null) {
/jsp:scriptlet
jsp:attribute name=background-color
Hi,
I have a jspx file like this:
| ?xml version=1.0?
| fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
| xmlns:jsp=http://java.sun.com/JSP/Page;
|
| fo:blocklt;fo:inlinegt;/fo:block
| fo:block![CDATA[fo:inline]]/fo:block
| /fo:root
and I try tomcat 5.0.19 resin 3.0.6, and the
Hi,
I have a file like this:
| ?xml version=1.0?
| fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
| xmlns:jsp=http://java.sun.com/JSP/Page;
|
| fo:blocklt;fo:inlinegt;/fo:block
| fo:block![CDATA[fo:inline]]/fo:block
| /fo:root
and the output is:
| ?xml version=1.0
I have two file hello.jspx world.jspx like:
hello.jspx:
| ?xml version=1.0?
| fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
| xmlns:jsp=http://java.sun.com/JSP/Page;
| jsp:include page=world.jspx/
| /fo:root
world.jspx:
| fo:block
Hi,
I just read http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
and found something like this:
largefile - Should we store the static content of JSP pages in external
data files, to reduce the size of the generated servlets? true or false,
default false.
but that option is
If you really want add internal entity declarations in you jspx, maybe you
should enter a feature request at http://issues.apache.org/bugzilla/.
And you can change the org.apache.jasper.compiler.JspDocumentParser
source,
modify the startDTD(...) method to fit your need.
and if you don't want to
Hi,
Long time ago, I ask the same question, and got no answer.
and I found these in JavaServer Pages Specification 2.0:
JSP.6.2.4 JSP Document Validation
A JSP Document with a DOCTYPE declaration must be validated
by the container in the translation phase. Validation errors
must be
Hi,
I have a jspx like this:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE fo:root [
!ENTITY nbsp #160;
]
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
xmlns:jsp=http://java.sun.com/JSP/Page;
test name=test value=test/test
/fo:root
it can be parsed by xerces2.6, but when I run it,