while the other one doesn't:
I am always interested in figuring out what have caused this problem.
Last night, I discovered a new feature on my browser: view source (forgive my ignorance). So naturally I looked the source code of both websites. Apparently I didn't figure out the reason is because of my lack of knowledge on the XML:
XML has a feature called entity reference: in order to avoid errors generated from parsing special characters in XML, replace such characters with entity reference: e.g., '<' -> '<'
There are 5 pre-defined entity references:
source: http://www.w3schools.com/xml/xml_syntax.asp |
I don't have much knowledge on the XML, but here is some useful resources:
W3school
W3C
I probably will dive a little bit on the topic, e.g., the namespace: http://www.w3.org/1999/xhtml/
P.S. All copyright reserved to the websites which I got the snapshots from. Nevertheless, they are great websites. :)
No comments:
Post a Comment