ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13859] - XSLT: processing multiple files is broken
Date Wed, 23 Oct 2002 08:27:46 GMT
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=13859>.
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=13859

XSLT: processing multiple files is broken





------- Additional Comments From elkner@linofee.org  2002-10-23 08:27 -------
Stephane,

actually, this is the first time, I heard about a regex bug in JDK 1.4 :(
Anyway, I guess, nobody expects you to fix this one ;-)

But I think, ants goal is to help developers to do their job and if
a bug is well known, it is not uncommon, that the using software
provides workarounds to circumvent those traps. The ant developers
did and do a great job to support even software with "uncommon" 
options (e.g. jikes, gcj, etc.), so why not support a version of
probably the most used JVM ?

One option for 1.4 or broken JVM/Transformers e.g. would be, to introduce
a new flag (thinking on "optimize" or "reuse") and if is set, templates
are will be reused.

So the fix could be:

if (stylesheetLoaded && optimze) {
  return;
}


Then the developer can decide (by doing additional checks or not ;-)),
which one works for him and even other people are able to change the
behavior just by using a single property.

Sounds at least quiet easy for me and you donīt have to worry about
performance annoyed developers ;-)

How about this?

Regards,
jens.

PS: Iīm using JDK 1.4.1_01 and canīt make use of the endorsed stuff,
    since I canīt tell any user to modify its JVM to be able to
    run this or that application. So this is:
    version.JAXP=1.1
    version.crimson=not-present
    version.SAX=2.0
    version.xerces=not-present
    version.DOM.draftlevel=2.0fd
    version.xalan2=Xalan;Java;Xalan Java 2.2.D11;
    version.DOM=2.0
    version.xalan1=not-present

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


Mime
View raw message