SV: [jdom-interest] Parsing files starting with UTF-8 Byte Order Mark

Per Norrman pernorrman at telia.com
Tue Jul 1 05:36:53 PDT 2003


Hi,

which parser are you using? I think the later
Xerces incarnations can handle this.

/pmn


> -----Ursprungligt meddelande-----
> Från: jdom-interest-admin at jdom.org 
> [mailto:jdom-interest-admin at jdom.org] För Peter Eriksson
> Skickat: den 1 juli 2003 07:46
> Till: jdom-interest at jdom.org
> Ämne: [jdom-interest] Parsing files starting with UTF-8 Byte 
> Order Mark
> 
> 
> Hello Everybody,
> 
> I have a problem with parsing some XML files generated from 
> .Net. It seems that the file starts with the Byte Order Mark 
> for UTF-8 (EF BB BF). If I try to load the file using jdom-b8 
> I get an exception. Is there some way that I can load files 
> with or without this Byte Order Mark transparently, i.e. 
> without an exception being thrown.
> 
> Anybody have a solution to the problem?
> 
> /Peter
> 
> 
> 
> _______________________________________________
> To control your jdom-interest membership: 
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com




More information about the jdom-interest mailing list