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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2002-12-03 21:09 -------
Well, after checking the xalan stuff a little bit deeper,
I think at least wrt. to xalan, that the whole stylesheet 
handling is still not cleanly implemented.

http://xml.apache.org/xalan-j/usagepatterns.html (Multithreading) states:

If you want to perform multiple transformations (sequentially or concurrently)
with the same stylesheet instructions, do the following:

   1. Use the TransformerFactory newTemplates(Source xslSource) method to create
a Templates object.

   2. For each transformation, use the Templates object newTransformer() method
to create a Transformer, and use that Transformer's transform(Source xmlSource,
Result transformResult) method to perform the transformation.

For an example, see Examples.exampleUseTemplatesObj() in the trax sample.


So IMHO this would be clean and work without setting the 
"reuseloadedstylesheet" attribute to a certain value ...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to