|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: suppression of the transformation of character entities in
Your numeric character references are wrong. In XML, numeric character references do not work the way they did in HTML generation 1-4 browsers. They give the Unicode number. So ’ is the Unicode character U+0092 which is a control character (in the C1) range. Now 146 is the code point in the extended characters sets used on Windows platforms. This are sometimes, spuriously, called the "ANSI" character sets, but better known as CP1252, or Western European DOS. So to make your data correct, the first thing you must do is to generate the numeric character references using Unicode numbers. Then work out the solution from there. If sometimes ’ works, it is only by a happy accident, in that your system is misconfigured compatibly all the way through. But it is not robust or reliable. If your file is in CP1252, then you should label the XML with the appropriate encoding header. But that will not change how character references are interpreted: they are always Unicode. And if you want CP1252 output, use the appropriate output statement in XSLT. Cheers Rick Jelliffe From: "Sascha Pogacar (XPECT MEDIA)" <sascha.pogacar@x...> <review> <P>Brad Gluckman is Malibu’s most unwanted rapper. He spends his days hangin’ at the Malibrew Coffee Shop with his pimpin’ crew, Mocha, Monster and Hadji, and bustin’ rhymes about his hard-core life up in “the ‘Bu.” Immersed in hip-hop culture, B-Rad spits lyrics about his phat life and this beach boy is convinced that his wack rhymes are tighter than Hadji’s cornrows. While B-Rad thinks his lyrical stylings and hip-hop lifestyle are down, he’s actually taking his whole family down with him – especially his father, Bill Gluckman, who is currently campaigning to be the next governor of California. Bill doesn’t understand his son and thinks all B-Rad needs is some unusual family therapy--or tough love--to cure him of his gangsta delusions. But ...
|
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








