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

<!ENTITY ...> inconsistency between Linux OS versions





------- Additional Comments From [EMAIL PROTECTED]  2002-02-06 20:33 -------
The segmentation fault may be a result of a bug that was recently fixed.  Can 
you change the code such that you are not using a temporary XSLTInputSource to 
compile the stylesheet?  That way you can set the system ID of the 
XSLTInputSource to a dummy string, which is the work-around for the bug:

// Our input streams...
istrstream      theXMLStream(theInputDocument, strlen(theInputDocument));
istrstream      theXSLStream(theStylesheet, strlen(theStylesheet));

XSLTInputSource inputSource(&theXSLStream);

inputSource.setSystemId(c_wstr(XalanDOMString("foo")));

// Do the transform.
theResult = theXalanTransformer.transform(&theXMLStream, inputSource, cout);

Also, could you please post a gdb stack trace from _before_ you apply the 
patch, then _after_ you apply the patch, if you still get a segfault.  Without 
that, it will be next to impossible to diagnose this problem, since I don't 
have a machine with that version of RedHat and gcc.

Reply via email to