On Thu, Jan 28, 2010 at 6:30 PM, Jason Proctor
<[email protected]> wrote:
 XML parsers require closed tags.

No, not all of them do.  This is exactly the point you can't seem to
grasp.  There are many XML parsers that close tags for you.  Whether
you still consider them to actually be XML parsers doesn't matter,
they still parse XML, high quality or other.

there are pieces of code around which are forgiving when it comes to closing tags, for sure. however, the XML standard specifies that tags be closed. therefore, XML parsers must insist on this in order to be compliant. it's only because of HTML's rather loose formatting rules that anything is not compliant -- IMVHO!

however, as you point out, in weird and wonderful real browser world (tm), pretty much anything can and does go. i heard that due to conflicting issues with HTML/SGML/XML commenting syntax, Netscape would try various different parsing methods on each document, and render the version which resulted in the most visible content. i mean, ffs.

i've seen some shit in my time, but browsers... zomg.

--
jason.vp.engineering.particle

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to