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

Re: Difficulty with ISO-8859-1 encoding

Subject: Re: Difficulty with ISO-8859-1 encoding
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Nov 1999 11:42:38 GMT
iso 8859 1 encoding
   Whoops I made a mistake in my first post, the 'cent' is actually
   ISO-8859-1 in the 1st instance of the DTD, i.e.:



Each external entity will may have its own encoding, so the DTD file
will be read with utf8 encoding (and generate the error you quote)
unless it starts off 
<?xml version="1.0" encoding="ISO-8859-1"?>

It is normally better to use numeric character entities in the dtd
so they don't depend on the parser supporting any particular encoding.

> If I use UCS it works OK - unfortunately most the real DTD's I have to
> work with use ISO-8859-1...
well tough, they must be SGML DTD files, so you'll have to save local
XML compliant copies of them (even if the only change is to add an
encoding decl)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.