You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/09/17 09:13:23 UTC

[Bug 58424] New: javaee tck fail(category=jsf, test name= jsfTldSignatureTest

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: dev@tomcat.apache.org
          Reporter: sungbae_yoon@tmax.co.kr

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 58424] javaee tck fail(category=jsf, test name= jsfTldSignatureTest)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58424

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
Fixed in trunk in r1703584.
Fixed in Tomcat 8 in r1703621. Will be in Tomcat 8.0.27.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 58424] javaee tck fail(category=jsf, test name= jsfTldSignatureTest)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58424

sungbae_yoon@tmax.co.kr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|javaee tck                  |javaee tck
                   |fail(category=jsf, test     |fail(category=jsf, test
                   |name= jsfTldSignatureTest   |name= jsfTldSignatureTest)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org