The parser is resolving these character entities to the actual
character--it should be the correct character though it may not be
displayable by whatever you're viewing your output in.

I believe you can enable the feature
"http://apache.org/xml/features/scanner/notify-char-refs"; and then if a
if you install an org.xml.sax.ext.LexicalHandler you can handle
startEntity and endEntity calls to make it output whatever you want.

Eric



Graeme St.Clair wrote:
> Thanks, Olek.
>
> I removed the "encoding", but am still getting the same result.  (The
> source file is plain old ASCII but also using several of the
> characters in the range 128-255.  I'm not getting any problem with them.)
>
> Rgds, GFStC.
>
> ----- Original Message ----- From: "Filozof71" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, November 14, 2006 7:45 PM
> Subject: Re: Entities
>
>
>>
>> ----- Original Message ----- From: "Graeme St.Clair"
>> <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> Sent: Tuesday, November 14, 2006 10:49 PM
>> Subject: Entities
>>
>>
>> I have a problem with a doc containing (sample):-
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>                                                 ^^^^^^^^^^^^^^
>>
>> best regards Olek
>>
>>
>> ----------------------------------------------------------------------
>> Omega-3 Olej Rybi
>> Zdrowie w kapsulkach! Zrodlo witalnosci!
>> Wyprobuj przez 4 tygodnie za darmo >> http://naturpost.interia.pl
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to