{"id":181,"date":"2007-10-03T20:10:03","date_gmt":"2007-10-04T03:10:03","guid":{"rendered":"https:\/\/dubinko.info\/blog\/2007\/10\/03\/xml-annoyance-do-greater-than-signs-need-to-be-escaped\/"},"modified":"2007-10-03T20:20:41","modified_gmt":"2007-10-04T03:20:41","slug":"xml-annoyance-do-greater-than-signs-need-to-be-escaped","status":"publish","type":"post","link":"https:\/\/dubinko.info\/blog\/2007\/10\/xml-annoyance-do-greater-than-signs-need-to-be-escaped\/","title":{"rendered":"XML Annoyance: do greater-than signs need to be escaped?"},"content":{"rendered":"<p>Let&#8217;s see how many downstream pieces of software trip over this post&#8230;<\/p>\n<p>Do greater-than and less-than signs need to be escaped in XML? Conventional wisdom has it that less-than signs always do, since that character starts a fresh &#8220;tag&#8221;, but greater-than signs are safe.<\/p>\n<p>Wrong.<\/p>\n<p>There is a particular sequence, namely ]]> , <a title=\"Look three paragraphs down\" href=\"http:\/\/www.w3.org\/TR\/REC-xml\/#syntax\">not allowed<\/a> to occur unescaped in XML &#8220;<a href=\"http:\/\/www.w3.org\/TR\/REC-xml\/#dt-compat\">for compatibility<\/a>&#8220;&#8211;a particular phrase the spec uses to indicate rules that only an SGML-head could love (but still strict requirements nonetheless). Does your software prevent this condition from causing an error? -m<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s see how many downstream pieces of software trip over this post&#8230; Do greater-than and less-than signs need to be escaped in XML? Conventional wisdom has it that less-than signs always do, since that character starts a fresh &#8220;tag&#8221;, but greater-than signs are safe. Wrong. There is a particular sequence, namely ]]&gt; , not allowed&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[33,4],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-annoyance","category-xml"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8eo8l-2V","_links":{"self":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":0,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dubinko.info\/blog\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}