DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16583>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16583

<xsl:attribute-set name="attrs"> ... </xsl:attribute-set>





------- Additional Comments From [EMAIL PROTECTED]  2003-07-24 01:27 -------
Thanks for your answer...
I'm sorry about my bad test-case.
I guess that stylesheet has broken when i comment on the "attribute-sets" 
related part.
It's my mistake. So, i changed my test-case like you do.
It successfully compiled with both version 2.5.1 and 2.4.1, but unfortunately 
generated Translet do not work correctly.
Do you remember i said that there is no problem when i use stylesheet directly.
And "Translet causes java.lang.NullPointerException" at 2003-01-30.

Here my test-case again.

- input xml:

<iml>
        <head>
                <cache ttl="0"/>
                <style bgcolor="white" text="black" link="blue" alink="teal"/>
                <bookmark markable="false"/>
        </head>
        <title format="strong" mode="nowrap" bgcolor="green" color="white">Form 
Test</title>
        <form action="form.iml" method="post" submit="OK" reset="Cancel">
                <input type="hidden" name="from" value="test"/>
                <input title="User ID" type="text" name="uid" maxlength="9" 
format="N" size="9"/>
                <input title="Password" type="password" name="pwd" 
maxlength="22" format="a" size="9"/>
                <select title="Age" name="age">
                        <option value="10">10</option>
                        <option value="20">20</option>
                        <option value="30" selected="true">30</option>
                        <option value="40">40</option>
                        <option value="50">50</option>
                        <option value="60">60</option>
                </select>
        </form>
        <action type="up" label="UP" dest="../index.iml"/>
</iml>

- expected (result when i no use attrinute-set)

<html>
    <head>
        <META http-equiv="Content-Type" content="text/html; charset=KS_C_5601-
1987">
        <meta http-equiv="Cache-Control" content="no-store">
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Expires" content="0">
        <title>Form Test</title>
    </head>
    <body bgcolor="white" text="black" link="blue" alink="teal">
        <center>Form Test</center>
        <form action="form.iml;jsessionid=BD23206F6EF47857E55E894CBEB38AEF" 
method="post">
            <input name="from" type="hidden" value="test">
            <p>User ID:<input name="uid" type="text" value="" maxlength="9" 
mode="1"></p>
            <p>Password:<input name="pwd" type="password" value="" 
maxlength="22" mode="a"></p>
            <p>Age:<select name="age"><option value="10">10</option><option 
value="20">20</option><option value="30" selected>30</option><option 
value="40">40</option><option value="50">50</option><option 
value="60">60</option></select></p>
            <input type="submit" value="[EMAIL PROTECTED]">
            <a 
href="../index.iml;jsessionid=BD23206F6EF47857E55E894CBEB38AEF">�ACancel</a>
        </form>
        <btn name="UP" 
href="../index.iml;jsessionid=BD23206F6EF47857E55E894CBEB38AEF">
    </body>
</html>

- result when i use attrinute-set (both version 2.4.1 and 2.5.1)

java.lang.NullPointerException
        at com.imobile5.iml.translet.mhtml_ktf.$as$0()
        at com.imobile5.iml.translet.mhtml_ktf.applyTemplates()
        at com.imobile5.iml.translet.mhtml_ktf.applyTemplates()
        at com.imobile5.iml.translet.mhtml_ktf.applyTemplates()
        at com.imobile5.iml.translet.mhtml_ktf.applyTemplates()
        at com.imobile5.iml.translet.mhtml_ktf.transform()
        at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:533)
        at com.imobile5.iml.servlet.IMLServlet.transform(IMLServlet.java:563)
        at com.imobile5.iml.servlet.IMLServlet.service(IMLServlet.java:375)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
        ...
        at java.lang.Thread.run(Thread.java:536)


Also my mistake again? Xalan-J's bug?

Regards,
Jinsung Lee

Reply via email to