Hello Michael,

Thank you very much.
Its a very useful information for me.

It will be helpful for me if you can provide an example
>If you are not seeing an error, then there is something wrong with the
>way you are doing error handling.
1) How to handle the error from saxon.

>you can try
i>n your transformation to correct the problem, perhaps by using
>character maps.
2) How can I use character map

I would like to know what is the difference between providing xsl:output as xml, html and xhtml.

I googled on the same, but dint got much information.
Please provide some links which can explain me those differences.

Regards,
Santhosh,


On Tue, Aug 28, 2012 at 1:34 PM, Michael Kay <mike@saxonica.com> wrote:
Opening your file with a hex editor shows that between the 0 (x30) and 4
(x34) your file contains the following octets:

C2 98 E2 80 93

This is a valid UTF-8 encoding of the two characters

U+0098 <control> character (&#x0098;)
U+2013 EN DASH character (&#x2013;)

The first character, U+0098, is not legal in HTML, and the HTML output
method therefore rejects it.

If you are not seeing an error, then there is something wrong with the
way you are doing error handling. When I try to do this, I get

Error
   SERE0014: Illegal HTML character: decimal 152

(decimal 152 = hex 98)

You have two options. You can try to work out why your XML contains this
strange control character, and fix the problem at source; or you can try
in your transformation to correct the problem, perhaps by using
character maps.

Michael Kay
Saxonica

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help