[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Where does a parser get the replacement text for a characterreferenc
* Ben Ryan | | This may be dumb question, but when you use an entity such as ⫧ | it is declared to have the literal entity value of "" what | is the actual replacement text generated by the parser? The replacement text will always be Unicode character number 58129, that is, U+E311 (which, apparently, does not exist). | I assume that it would depend on what encoding the xml that you are | parsing has. Actually, no. Character references always refer to Unicode characters. If you think about it, that's their reason for existing. They allow you to put characters into your document which are not expressible in the character encoding you use. That is great for users, and not quite so great for developers, since it means that you can't turn off bidirectional processing for documents simply because they use character encodings which cannot express right-to-left characters. And so on. --Lars M.
|
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
|