Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Another method of disabling the GUI at startup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another method of disabling the GUI at startup
Authored by: mysidia on May 02, '09 09:48:21AM
This is completely incorrect. In fact <string>>console</string>
is well-formed XML. An XML parser that rejects or "barfs" on that input is not a standards compliant XML parser. Less-than and Amphersand must be escaped. The greater than symbol does not NEED to be escaped, except when part of a ]]> sequence.

The relevant portion of the XML standard is section 2.4
http://www.w3.org/TR/2008/REC-xml-20081126/#syntax
"
The ampersand character (&) and the left angle bracket (<) must not appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.

The right angle bracket (>) MAY be represented using the string " &gt; ", and must, for compatibility, be escaped using either " &gt; " or a character reference when it appears in the string " ]]> " in content, when that string is not marking the end of a CDATA section.
"

[ Reply to This | # ]