Try doing a bin dump of the first couple lines and posting that.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



michael gaida <[EMAIL PROTECTED]> on 03/30/2000 12:06:27 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  xerces-c-110 parsing: newline problem



I don't get DOMParser parse files. Starting the DOMPrint
or the SAXPrint sample (on Win32 build with BCB4.0) I get
the exception:

(DOMPrint)
Fatal Error at file "h:\s02.xml", line 1, column 45
   Message:
<?xml version='1.0' encoding='ISO-8859-1' ?>

(SAXPrint)
Fatal Error at (file h:\s02.xml, line 1, char 45):

s02.xml was made with the joe editor on linux so it should
use ISO-8859-1 encoding (I think so). It looks like
something goes wrong with the line break (char 45) while
parsing.


I don't think this is a big problem, but I simply don't
get it.

Could anybody tell me where I can find documentation
about io, encoding or handling newlines esp. with the
xercess parser? I have already read the faq.


Thanks

Michael Gaida


___________________________________________________________
http://www.firemail.de - Ihr Briefkasten im Web. Einfach, schnell, sicher.
Neu! Jetzt auch mit kostenlosem Fax-Empfang und Voicemail!



Reply via email to