Unicode 0x13 is an illegal character in XML.  See:

   http://www.w3.org/TR/REC-xml#charsets

Putting such a character in a CDATA does not make it legal, so your
document is really not XML.  You can either encode such characters (base64
is very popular), or remove them.

Dave



|---------+--------------------------->
|         |           [EMAIL PROTECTED]|
|         |           com             |
|         |                           |
|         |           04/05/2002 06:28|
|         |           AM              |
|         |           Please respond  |
|         |           to xalan-dev    |
|         |                           |
|---------+--------------------------->
  
>---------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                 |
  |        To:      [EMAIL PROTECTED]                                           
                                 |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                               
                                 |
  |        Subject: Help understanding SAXParseException message                       
                                 |
  
>---------------------------------------------------------------------------------------------------------------------|




Hi there,

Can someone explain to me what I can do to debug/fix the cause of this
exception?

javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: An
invalid XML character (Unicode: 0x13) was found in the CDATA section. at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:680)


at

I am not sure if this implies that there is some limitation on CDATA
sections that I don't understand, or if perhaps I need to use a different
encoding in my stylesheets (using utf-8 right now).
I have no control on the kind of data that gets placed in the CDATA
section, but would appreciate any help/hints on what I can do to further
investigate or prevent this exception.

thanks for your help.
Hanaa Barakat
4D/831/8200/MKM ~~~ 905-413-4409



"The best laid plans of mice and men oft' gang aglay..."
-Robert Burns







Reply via email to