|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Difficulty with 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








