You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/11/28 14:43:50 UTC

DO NOT REPLY [Bug 43981] New: - XSLT Task misbehaving with Java 1.6

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=43981

           Summary: XSLT Task misbehaving with Java 1.6
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: rsribhashyam@gmail.com


Hi,

I am trying to use XSLT task to generate a html report. I have a XSL file and an
XML file as input and expecting a HTML as an output.

I am using Ant 1.7.0.

The output is as expected if i use java version 1.4.
But i have a problem if i use any java version above 1.4 (1.5 or 1.6)

My PC is having Windows XP OS and following is the java version detail
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

When i try to run this XSLT task, with java version 1.6, i get the result twice
populated on my output html file.

After analysing, i found that this behaviour is seen when i use the tag
xsl:for-each.

Request your help in resolving this.

I can send you sample XML, XSL and build files if you need any.

I thought of downloading the latest nightly build of ant, but could not get any
from Apache Ant Site.

Thanks and Regards,
Raghuveer Sribhashyam

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43981] - XSLT Task misbehaving with Java 1.6

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=43981





------- Additional Comments From rsribhashyam@gmail.com  2007-11-28 21:44 -------
I have added the xalan.jar as you have suggested to the ANT_HOME/lib.

Now i get an error message saying 

java.lang.NoClassDefFoundError: org/apache/xml/serializer/ExtendedContentHandler

Raghuveer Sribhashyam

(In reply to comment #1)
> does it go away when you add xalan.jar to the ANT_HOME/lib?
> 
> Realistically, we arent the people to deal with xslt quirks ... ant just
> delegates to the xsl engine, so its only if we are doing bad things that we can
> deal with it. Java6 ships with Xalan xsltc, not the normal interpreted one, and
> it has different bugs from what we normally test against.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43981] - XSLT Task misbehaving with Java 1.6

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=43981


bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dev@ant.apache.org          |notifications@ant.apache.org




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43981] - XSLT Task misbehaving with Java 1.6

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=43981





------- Additional Comments From stevel@apache.org  2007-11-28 08:36 -------
does it go away when you add xalan.jar to the ANT_HOME/lib?

Realistically, we arent the people to deal with xslt quirks ... ant just
delegates to the xsl engine, so its only if we are doing bad things that we can
deal with it. Java6 ships with Xalan xsltc, not the normal interpreted one, and
it has different bugs from what we normally test against.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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