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

RE: ISO8859-1 encoding

Subject: RE: ISO8859-1 encoding
From: "Kevin Brown" <kevin@xxxxxxxxxxx>
Date: Sat, 18 Aug 2012 23:08:30 -0700
 RE: ISO8859-1 encoding
> but my customer will be hard to convince to throw yet another technology
on his server

Perhaps you should be convincing your customer to replace the tool that
writes the encoding name incorrectly? I know of no alias in character set
assignments that should accept ISO8859-1 as valid.

ISO_8859-1 or preferably ISO-8859-1

Kevin Brown
RenderX
------------------------------

Date: Sat, 18 Aug 2012 10:58:04 +0200
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx>
Subject: ISO8859-1 encoding

Hi all,

I need to deal with XML that has this encoding="ISO8859-1", I am not sure
about this, some parsers seem to accept it

I am using Saxon command-line on a win 2008 server.
I am using collection() since I have to combine a bunch of these XML into
one resulting XML

Saxon throws an error because of the encoding.
I assume it is the underlying parser that does this

What are my options to make Saxon accept this encoding?

My last resort would be to have a Ruby or Python up front that transforms
the encoding="ISO8859-1"
into
encoding="ISO-8859-1"
but my customer will be hard to convince to throw yet another technology on
his server

Thanks in advance

Geert

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.