[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Tranformation failed with Saxon for "Illegal HTML]

Subject: Re: Tranformation failed with Saxon for "Illegal HTML]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Jul 2006 17:35:40 +0100
Re:  Tranformation failed with Saxon for "Illegal HTML]
> In My XML file unfortunately come characters like the one in the tag
> below:

I assume that that means that theer are utf8 characters in your input
one can never be sure with mail as it may have been re-encoded between
the point that you sent it and the point that it got here. Actually your
mail claimed to be latin-1
Content-Type: text/plain;charset=iso-8859-1
and if your XML file claimed to be the same encoding then you would get
the error that you stated, as then the two bytes representing the
characters would be interpretted as two characters, the first being an
accented A the second being character 128 which is an error.
If your input is coming from a web server check the encoding specified
in its http headers. If it os coming from the filesystem, check the
encoding specified in the file.

David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.