-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 15, 2002 11:28 AM
To: [EMAIL PROTECTED]; [email protected]
Subject: RE: StreamTransform with Visual C++ .NETI actually did not build xalan or xerces. I used the binary distribution.
May this is what the problem is, but I was hoping that VC++ 6.0 built DLLs are "compatible" with VC++ 7.0 (I am probably too naive on that one).I can definitely try to rebuild both Xerces and Xalan with .NET and see if the problem is fixed.
Thomas
-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 12:16 AM
To: [email protected]
Subject: Re: StreamTransform with Visual C++ .NET
When I last built with beta 2, everything worked fine, but things may have
changed.Since I don't have a copy of .NET, I can't build it to see what's wrong.
You might try debugging through the code to see why the stream is empty.By the way, did you rebuild Xerces as well?
Dave
[EMAIL PROTECTED]
oftware.com To: [email protected]
cc: (bcc: David N Bertoni/Cambridge/IBM)
04/14/2002 11:34 AM Subject: StreamTransform with Visual C++ .NET
Hi there,
I am trying to make the StreamTransform example (from Xalan-C_1_3-win32.zip
) with Visual C++ .NET (VC++ 7.0)
I can compile it fine but when I execute it I get the following error:
Fatal Error at (file , line 1, column 1): The main XML document cannot be
empty
StreamTransform Error:
The main XML document cannot be empty
Seems to be a problem with the handling of the stream. If I do not use
stream (but reference the xml and xsl file directly), everything works
fine.
Same exact code compiled in VC++6.0 is working fine.
Any ideas?
Thomas
Title: RE: StreamTransform with Visual C++ .NET
Sorry,
I just realized that my answer might be a little bit
confusing.
I
initially used the binary distribution of xalan and xerces to write a program of
my own. When I realized that I could not make the stream working, I just took
the StreamTransform sample and recompiled it under .NET (but just the sample).
It did not work either (I wanted to check if my code was having a
problem).
If you
recommend to rebuild xalan and xerces in .NET as well, I will give it a
try.
Thomas
- StreamTransform with Visual C++ .NET thomas . cherel
- Re: StreamTransform with Visual C++ .NE... David N Bertoni/Cambridge/IBM
- RE: StreamTransform with Visual C++ .NE... thomas . cherel
- RE: StreamTransform with Visual C++ .NE... thomas . cherel
- RE: StreamTransform with Visual C++ .NE... David N Bertoni/Cambridge/IBM
- RE: StreamTransform with Visual C++ .NE... thomas . cherel
- RE: StreamTransform with Visual C++ .NE... thomas . cherel
- RE: StreamTransform with Visual C++ .NE... David N Bertoni/Cambridge/IBM
- RE: StreamTransform with Visual C++ .NE... thomas . cherel
- RE: StreamTransform with Visual C++ .NE... Dave Connet
