First step: Can you build and run without your change? If so: The code thinks your change is incorrect, since it is having unintended effects. Ask whether you really need this change at all, and/or whether there's another way to accomplish what you need. You SHOULDN'T have to patch code to handle a simple setSystemId call.
______________________________________ "You build world of steel and stone I build worlds of words alone Skilled tradespeople, long years taught: You shape matter; I shape thought." (http://www.songworm.com/lyrics/songworm-parody/ShapesofShadow.html) Dinesh Behl <dinesh.b...@gmail.com> wrote on 10/05/2011 09:45:54 AM: > From: > > Dinesh Behl <dinesh.b...@gmail.com> > > To: > > xalan-dev@xml.apache.org > > Date: > > 10/05/2011 09:46 AM > > Subject: > > Issue related to Stream Transform on Windows. > > Hi, > I am trying to debug the StreamTransform sample given along with > Xalan 1.10 package, it is build successfully with a change in the > project (treat wChar_t as built in type = NO) to solve linking problem of > "inputSource.setSystemId(XalanDOMString("foo").c_str()); " > File used > : StreamTransform.cpp > Environment > : Visual Studio 2008, Windows Server 2008 Standard > Packages > : Xalan 1.10 , Xerces 2.7 > Everything works fine but it crashes at the statement > int theResult = > theXalanTransformer.transform(&theXMLStream, inputSource, cout); > Can anyone please suggest me what I am doing wrong. I am using the > code as provided in the sample, NO Change. > Thanks > Dinesh[attachment "StreamTransform.cpp" deleted by Joseph Kesselman/ > Watson/IBM] > --------------------------------------------------------------------- > To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org > For additional commands, e-mail: xalan-dev-h...@xml.apache.org