3 ms·
Sure that works for some things but 1. You know there are no entity names for most unicode characters? Eg Chinese. You may as well use the numeric entity codes
by justincormack 15y ago
Sure that works for some things but
1. You know there are no entity names for most unicode characters? Eg Chinese. You may as well use the numeric entity codes
2. In XML the entity names other than lt gt amp and quot are not defined unless you have a dtd, so you should not use them across an xml api, eg for an Atom feed, or across an xml web service, unless it defines a dtd including them which is unlikely.
3. If you get those errors, it is because you have something set up wrong. Those things are fixable. Fixing them will help you understand whats going on better. As the article says, get out your hex...
- blauwbilgorgel 15y agoThank you very much! If I understand correctly, you are saying to drop the entity names and start using the numeric entity codes. This shouldn't be much of a problem. I really did bump into problems with an RSS feed and entity names, so another great point. I solved that by wrapping it in <![CDATA[ ]] and using the numeric entity codes (ë becomes ë), so now I am wondering why I am even mixing entity names and numeric entity codes in the first place.