https://bz.apache.org/bugzilla/show_bug.cgi?id=58424
Bug ID: 58424
Summary: javaee tck fail(category=jsf, test name=
jsfTldSignatureTest
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
I've ported Japser into my JavaEE7 product.
When I ran tck, test failed.
com/sun/ts/tests/jsf/spec/webapp/tldsig/URLClient.java#jsfTldSignatureTest
Failed. Test case throws exception: [BaseUrlClient] null failed! Check output
for cause of failure.
This test compares TagLibraryInfos of jsf_core.tld file.
One is loaded from test's parser, the other is loaded from testee's parser
code.
The test prints out like this even though tld file has value 'true'.
Taglibrary 'http://java.sun.com/jsf/core' FAILED
[http://java.sun.com/jsf/core:viewParam:id] - Mismatch on rtexpr value
configuration - expected: true, received: false
I checked TldRuleSet code that is used to parse tld file and found out that
Jasper needs to trim body text in case of tld file which has element body like
this
<rtexprvalue>
true
</rtexprvalue>
TldRuleSet$GenericBooleanRule cannot convert this(\n true\n) to true.
Plz, check this. Thanks.
--
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]