Re: How to change encoding in XML2reader --update

2005-01-12 Thread David ---
Yes that's right, it's UTF-8 but i want to be able to transcode it to ISO-8859-1. You're right i'm using the XMLString::transcode() method and i'm guess from what you say that it's not the best way to do it. That's how the orginal XML file looks like: Moléculaire What shall i use than to tr

load-external-dtd overriden by cache-grammarFromParse

2005-01-12 Thread Daniel McLean
We recently observed the behaviour that if cache-grammarFromParse feature is enabled, external DTDs will be resolved regardless of the load-external-dtd feature setting. This was discovered when an external DTD could not be resolved, resulting in an error. This came as as surprise, although it do

Re: How to change encoding in XML2reader --update

2005-01-12 Thread david_n_bertoni
> The problem i have is that i need to parse a huge file > that's why i decided to use the sax parser. however > the file contains a particular encoding and the parser > fails to transcode those strings. For example one line > says Moléculaire It's very very unlikely the parser cannot transcode d

[jira] Resolved: (XERCESC-1219) SCMPrint segfault

2005-01-12 Thread cargilld (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-1219?page=history ] cargilld resolved XERCESC-1219: --- Resolution: Fixed I just checked in a fix for this problem. Please verify. Thanks. > SCMPrint segfault > - > > Key: XERCESC

Re: How to change encoding in XML2reader --update

2005-01-12 Thread David ---
The problem i have is that i need to parse a huge file that's why i decided to use the sax parser. however the file contains a particular encoding and the parser fails to transcode those strings. For example one line says Moléculaire When i display the tag name its empty so i assume that the parse

Re: How to change encoding in XML2reader

2005-01-12 Thread David ---
Ah ok i understand that sax2xmlreader doesn't allow for encoding change. Shall I use a SaxHandlerParser like the sample file Sax2Print then ? --- Alberto Massari <[EMAIL PROTECTED]> a écrit : > At 19.47 12/01/2005 +0100, David --- wrote: > >Hi, > >I have implemented a SAX2xmlreader parser. > >I

RE: How to change encoding in XML2reader

2005-01-12 Thread Bovy, Stephen J
He wants to change the OUTPUT encoding What does he mean by OUTPUT, is he talking about the OUTPUT from creating a NEW DOCUMENT ??? -Original Message- From: Jeroen N. Witmond [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:19 AM To: xerces-c-dev@xml.apache.org Subj

Re: How to change encoding in XML2reader

2005-01-12 Thread Jeroen N. Witmond
> Hi, > I have implemented a SAX2xmlreader parser. > I don't know how to change the xml encoding. For > instance while reading a file encoded in UTF-8 I would > like to change the output encoding to somethig else > (utf-16 or any other) > You cannot change the encoding that is used by the API to r

Re: How to change encoding in XML2reader

2005-01-12 Thread Alberto Massari
At 19.47 12/01/2005 +0100, David --- wrote: Hi, I have implemented a SAX2xmlreader parser. I don't know how to change the xml encoding. For instance while reading a file encoded in UTF-8 I would like to change the output encoding to somethig else (utf-16 or any other) The SAX2XMLReader reads a file

How to change encoding in XML2reader

2005-01-12 Thread David ---
Hi, I have implemented a SAX2xmlreader parser. I don't know how to change the xml encoding. For instance while reading a file encoded in UTF-8 I would like to change the output encoding to somethig else (utf-16 or any other) thanks, david a piece of the code below try { c_parser

[jira] Resolved: (XERCESC-1211) Errors and warnings

2005-01-12 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-1211?page=history ] Alberto Massari resolved XERCESC-1211: -- Resolution: Fixed The warnings should be almost gone now: the ones remaining are in DOMCasts.h, in the deprecated DOM, some "unused vari

[jira] Resolved: (XERCESC-628) passing -1 to unsigned parameter

2005-01-12 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-628?page=history ] Alberto Massari resolved XERCESC-628: - Assign To: (was: Xerces-C Developers Mailing List) Resolution: Fixed The bug should have been fixed by the general cleanup of warni

[jira] Resolved: (XERCESC-1256) Compile error on SGI-Irix

2005-01-12 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-1256?page=history ] Alberto Massari resolved XERCESC-1256: -- Resolution: Duplicate > Compile error on SGI-Irix > - > > Key: XERCESC-1256 > URL: http://issue