You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by John Summerfield <su...@OS2.ami.com.au> on 2000/06/23 11:03:53 UTC

Re: Illegal XML character: .

> 
> INVESTIGATION:
> By comparing, byte by byte, files before and after editing.  I identified tha
> t
> an EOF (hex 1A) had been added to the edited file.
> 
> I don't recall seeing this in any emails and the bug DB is offline.  Has this
> all ready been noticed?  Is it a bug? a feature ;-) or is my editor that only
> one that adds an EOF character :-)

Which editor are you using?

I remember it popping up pretty often in html pages (even mine). I don't 
know which editor put them there, but, as I recall, the System Editor (e) 
maintains them silently (and can't be made to remove them),

epm CAN be encouraged to Do the Right Thing. Heck, epm can be made to do 
anything, but it takes a bit of encouragement sometimes.

On further reflection, I think that using OS/2's ftp command in ascii mode 
can stuff things up. Always use it in binary.

Failing all else, a few lines of Java will fix it;-)


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



Re: Illegal XML character: .

Posted by Philip J Vincent <Ph...@cambridge.simoco.com>.
The solution was to move to EPM.  However I did notice that EPM  preserves EOF
where it already exists.  To over come this I replaced all edited files and
started again.  Now all is right with the world.  Well almost!  Thanks.

John Summerfield wrote:
> 
> >
> > INVESTIGATION:
> > By comparing, byte by byte, files before and after editing.  I identified tha
> > t
> > an EOF (hex 1A) had been added to the edited file.
> >
> > I don't recall seeing this in any emails and the bug DB is offline.  Has this
> > all ready been noticed?  Is it a bug? a feature ;-) or is my editor that only
> > one that adds an EOF character :-)
> 
> Which editor are you using?
> 
> I remember it popping up pretty often in html pages (even mine). I don't
> know which editor put them there, but, as I recall, the System Editor (e)
> maintains them silently (and can't be made to remove them),
> 
> epm CAN be encouraged to Do the Right Thing. Heck, epm can be made to do
> anything, but it takes a bit of encouragement sometimes.
> 
> On further reflection, I think that using OS/2's ftp command in ascii mode
> can stuff things up. Always use it in binary.
> 
> Failing all else, a few lines of Java will fix it;-)
> 
> --
> Cheers
> John Summerfield
> http://os2.ami.com.au/os2/ for OS/2 support.
> Configuration, networking, combined IBM ftpsites index.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org