This is a known bug that has been fixed for a while.  You might want to
upgrade to the latest CVS code, or try to work in the bug fix to your
current code.  You can see the diff through CVS on the website:

   
http://cvs.apache.org/viewcvs.cgi/xml-xalan/c/src/PlatformSupport/StdBinInputStream.cpp.diff?r1=1.5&r2=1.6

Dave



                                                                                       
       
                    "Jason Jung"                                                       
       
                    <jasonnews@eur        To:     <[EMAIL PROTECTED]>           
       
                    ekium.net>            cc:     (bcc: David N Bertoni/CAM/Lotus)     
       
                                          Subject:     C++ Xalan Iso-8859-1 support    
       
                    07/16/2001            question.. (HELP!)                           
       
                    02:17 AM                                                           
       
                    Please respond                                                     
       
                    to xalan-dev                                                       
       
                                                                                       
       
                                                                                       
       



Greetings.

I am using Xalan 1.1 compiled on windows 2000 with VC6++ on a pentium 3,
compiled with the dinkumware fixes.

Problem:
1.We need to support french characaters such as ��� etc...

Synopsis:
I am having trouble with the XalanTransformer class, using stream input,
accepting ISO-8859-1 documents. However the code works fine when accepting
filenames.

Symptoms:
1.If we read from files, then there is no problem and the xalantransformer
takes iso-8859-1, handles the characters and provides correct output.

2.However once we read from streams, the xalantransformer returns the
following error:

XSL Warning: Fatal Error at (file idSysXML, line 1, column 732): Expected
comment or processing instruction

Which is invariably the end of the xml document. (note that this occurs
when
iso-8859-1 is specified regardless or not if special characters such as ��
exist in the xml document.)

3.But I must stress that the same code will parse utf-8 encoded documents
without any problem.

I am at my wits end. Any advice would be helpful and appreciated.

...

Thanks

Jason

______________________________________

Jason Jung, developer
Eurekium Innovations inc.
"Eurekium, the element of innovation."

email : [EMAIL PROTECTED]
tel.  : 514.286.6966
fax   : 514.286.6658
web   : www.eurekium.com






Reply via email to