Re: [xep-support] invalid bytes

From: Jim Mott <>
Date: Thu Mar 26 2009 - 12:46:12 PST

The Unicode value for a copyright symbol is 0x00A9 (two bytes). Did you convert your XML to UTF-8 encoding? And does the actual encoding of the XML agree with the encoding stated in the XML header (encoding="UTF-8"). If the header says UTF-8 and the XML is not UTF-8, Saxon should flag this in the XSL stage.

Jim Mott
Publishing Data Managment, Inc.

  ----- Original Message -----
  From: Hamacher, Eric
  Sent: March 26, 2009 1:07 PM
  Subject: [xep-support] invalid bytes



  I have a valid XML and a valid XSL file which I transformed into a FO using Saxon. However, XEP is stumbling on some characters like 0xa9 (which is a copyright symbol) and giving the following output. How can I instruct XEP to handle these bytes? Thanks.


  C:\XEP>xep -valid -fo c:\temp\XXXXXXXX_fo.xml -pdf c:\temp\XXXXXXXX_pdf.pdf

  (document [system-id file:/c:/temp/XXXXXXXX_fo.xml]

    [error] Fatal parse error: file:/c:/temp/XXXXXXXX_fo.xml: : invalid UTF-8 byte

   (check the XML declaration) (code: 0xa9)


  Parse error: invalid UTF-8 byte (check the XML declaration) (code: 0xa9)



  Software Application Developer


  8476 Greenway Boulevard

  Suite 100

  Middleton, WI 53562


  GALLUP Technology


  Achiever | Learner | Restorative | Intellection | Deliberative


  IMPORTANT NOTICE: This e-mail message and all attachments, if any, may contain confidential and privileged material and are intended only for the person or entity to which the message is addressed. If you are not an intended recipient, you are hereby notified that any use, dissemination, distribution, disclosure, or copying of this information is unauthorized and strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply e-mail, and destroy all copies of the original message.

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu Mar 26 12:16:34 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 26 2009 - 12:16:35 PST