When I run the code:
*** befin code
private String theXml = ...
private File xslFile = ....
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new
StreamSource(xslFile));
Syslog.debug(this,"transformant...");
transformer.transform(new StreamSource(new
StringBufferInputStream(theXml)),new StreamResult(pos));
Syslog.debug(this,"transformat");
Syslog.debug(this,"tancant pipe ...");
pos.close();
Syslog.debug(this,"pipe tancada");
pos.flush();
BufferedReader br = new BufferedReader(new
InputStreamReader(new
DataInputStream(pis)));
String input;
Syslog.debug(this,"llegint...");
*** end code
I get the folowing result:
*** begin result
15:01:09 09/03 [DBUG] XmlConverterBean transformant...
15:01:09 09/03 [DBUG] XmlConverterBean transformat
15:01:09 09/03 [DBUG] XmlConverterBean tancant pipe ...
15:01:09 09/03 [DBUG] XmlConverterBean pipe tancada
15:01:09 09/03 [DBUG] XmlConverterBean llegint...
*** end result
but when I try the same, with the same xml and a bigger xsl it seems to
be hang. The result is:
*** begin result
15:06:55 09/03 [DBUG] XmlConverterBean transformant...
*** end result
the transformation with the two xsl's run wen through othen methods
(the error don't seems to be in the xsl).
Whant can happend?
��������������������������������������������������
Jordi Daroca Botanch Essi Projects
[EMAIL PROTECTED] t +34 977 221 182
http://www.essiprojects.com f +34 977 230 170
��������������������������������������������������