You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/19 10:24:54 UTC

DO NOT REPLY [Bug 4286] New: - For not well formed XML document, the Transformer hangs(May be due to threading issues)

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=4286>.
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=4286

For not well formed XML document, the Transformer hangs(May be due to threading issues)

           Summary: For not well formed XML document, the Transformer
                    hangs(May be due to threading issues)
           Product: XalanJ2
           Version: 2.0.0
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.transformer
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: manoranjan_das@hotmail.com


Probs : For not well formed documents, the Transformer hangs after pointing out 
where the error is there in XML document.
Here is the sample code, I am using.
               TransformerFactory tFactory = TransformerFactory.newInstance();
                Transformer transformer = tFactory.newTransformer(
                    new StreamSource(XSLFileSource));
                transformer.transform(new StreamSource(new File
(XMLFileSource)), 
                    new StreamResult(stringWriter)); 

The XML File Source and XSL File Source are files present in file system.

Thanks in advance
Manoranjan