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. If they are needed elsewhere, they must be escaped using either numeric character references or the strings " & " and " < " respectively. The right angle bracket (>) may be represented using the string " > ", and must, for compatibility, be escaped using either " > " or a character reference when it appears in the string " ]]> " in content, when that string is not marking the end of a CDATA section.W3C Recommendation, Extensible Markup Language (XML) 1.0 (Fifth Edition), 26 November 2008
In the content of elements, character data is any string of characters which does not contain the start-delimiter of any markup and does not include the CDATA-section-close delimiter, " ]]> ". In a CDATA section, character data is any string of characters not including the CDATA-section-close delimiter, " ]]> ".
Saturday, June 12, 2010
Right angle bracket (>) in XML Specification
I like to close the discussion about the use of the right angle bracket (>) in XML document. Despite what the the claim "the greater than character is legal, but it is a good habit to replace it" by the w3schools, usage of the right angle bracket must be escaped! It clearly mentioned in the XML 1.0 Specifications:
Topics
- 12c (1)
- Architecture (2)
- B2B (1)
- Banking (1)
- BPEL (3)
- Cisco (1)
- ebXML (1)
- EDIFACT (1)
- Effective Management (2)
- Engineered Systems (2)
- Exadata (2)
- Exalogic (1)
- Governance (1)
- Innovative (1)
- Issue Management (1)
- ITIL (1)
- Java (3)
- JDeveloper (2)
- Methods (27)
- Mobility (1)
- OFM (5)
- OIC (1)
- Oracle SOA Suite (7)
- OSB (1)
- Principles (8)
- Release Management (1)
- Scripting (1)
- Standards (3)
- Virtualization (1)
- webMethods (6)
- XPath (1)
Archive
-
▼
2010
(28)
-
▼
Jun
(11)
- Customer engagement template
- SSL certificate in webMethods Software
- Roles and responsibilities
- Configuring sticky session in CISCO Content Servic...
- Right angle bracket (>) in XML Specification
- How to create rule to forward meeting requests?
- OASIS ebXML version 2.0 implementation
- Cloning webMethods Integration server
- Configuring webMethods Broker 7.1.2 as a JMS Provider
- Macquarie Professional Assessments
- Drive: The surprising truth about what motivates us
-
▼
Jun
(11)