<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hello Michael,</DIV>
<DIV> </DIV>
<DIV>I Think that it is an 0A I have after the xml declaration, as I have at the end of each line of this file. The invalid UTF-8 byte is a0xA0.</DIV>
<DIV> </DIV>
<DIV>Looking a bit more precisely, I have found this 'A0' byte : it is in the ligne beginning with "<Nuart>4776027" inside the element Run.</DIV>
<DIV> </DIV>
<DIV>Now, I still don't understand why it is an invalid UTF-8 byte, because when I open this file in UltraEdit in Hex mode I see "00A0" and "00A0" is a valid Unicode character! I may filter it here, but in some case, I may need it as it is the "NO-BREAK SPACE".</DIV>
<DIV> </DIV>
<DIV>What's wrong.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Best regards</DIV>
<DIV> </DIV>
<DIV>Luc AUDRAIN<BR>__________________________________<BR>DSI / Infocube<BR>Informatique Éditoriale<BR>HACHETTE LIVRE<BR>43, quai de Grenelle<BR>75015 PARIS<BR>00 33 1 43 92 38 12<BR><A href="mailto:laudrain@hachette-livre.fr">laudrain@hachette-livre.fr</A><BR><BR>>>> msulyaev@renderx.com 24/06/2005 17:28:42 >>><BR>Hello, Luc,<BR><BR>Your .xml file is invalid: it has a 0xA0 byte after the xml declaration <BR>and before anything else, e.g. like here (the last byte shown):<BR><BR>3C 3F 78 6D 6C 20 76 65 ¦ 72 73 69 6F 6E 3D 22 31 <?xml version="1<BR>2E 30 22 20 65 6E 63 6F ¦ 64 69 6E 67 3D 22 55 54 .0" encoding="UT<BR>46 2D 38 22 3F 3E 20 20 ¦ 20 20 20 20 20 20 20 20 F-8"?><BR>20 20 20 20 20 20 20 20 ¦ 20 20 20 20 20 20 20 20<BR>A0 <<BR><BR>Use any HEX editor to fix.<BR><BR>-- <BR>Best regards,<BR>Michael Sulyaev<U> <A href="mailto:msulyaev@renderx.com">mailto:msulyaev@renderx.com</A></U> <BR>RenderX.<BR><BR><BR><BR>LUC AUDRAIN wrote:<BR>> Hello,<BR>> <BR>> On some XML files, I have an error message on validation :<BR>> <BR>> [error] Error reported by XML parser; SystemID: file:/J:/Traitement <BR>> BdC/Depot TXT/lg/OPERATION ARTEMIS CHASSE 23 AOUT 2005.xml; Line#: -1; <BR>> Column#: 949<BR>> [error] javax.xml.transform.TransformerException: Error reported by XML <BR>> parser error: formatting failed: <BR>> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: <BR>> invalid UTF-8 byte (check the XML declaration) (code: 0xa0)<BR>> <BR>> I found information on the Renderx Web Site in this answer<BR>> *From*: Mike Trotman <<U> <A href="mailto:mike.trotman@datalucid.com">mike.trotman@datalucid.com</A></U> <BR>> <<U> <A href="mailto:mike.trotman@datalucid.com?Subject=Re:%20[xep-support]%20UTF%20data%20format">mailto:mike.trotman@datalucid.com?Subject=Re:%20[xep-support]%20UTF%20data%20format</A></U> >> <BR>> <BR>> *Date*: Mon May 02 2005 - 08:14:51 PDT<BR>> and tried without success.<BR>> <BR>> The workaround I found is to save the XML file again from any text or <BR>> xml editor (as XMLSPy) and it works fine.<BR>> <BR>> In order to find what's wrong in my source file, I'd like to know how to <BR>> use the ligne and column information in the error message : Line#: -1; <BR>> Column#: 949.<BR>> <BR>> Best regards.<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> Luc AUDRAIN<BR>> __________________________________<BR>> DSI / Infocube<BR>> Informatique Éditoriale<BR>> HACHETTE LIVRE<BR>> 43, quai de Grenelle<BR>> 75015 PARIS<BR>> 00 33 1 43 92 38 12<BR>> <U><A href="mailto:laudrain@hachette-livre.fr">laudrain@hachette-livre.fr</A></U> <<U> <A href="mailto:laudrain@hachette-livre.fr">mailto:laudrain@hachette-livre.fr</A></U> ><BR>> <BR>-------------------<BR>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<BR>in the body of the message to <U><A href="mailto:majordomo@renderx.com">majordomo@renderx.com</A></U> from the address<BR>you are subscribed from.<BR>(*) By using the Service, you expressly agree to these Terms of Service <U><A href="http://www.renderx.com/terms-of-service.html">http://www.renderx.com/terms-of-service.html</A></U> <BR></DIV></BODY></HTML>