[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Pete Cordell" <petexmldev@c...>
  • To: "John Cowan" <cowan@m...>
  • Date: Sun, 3 Jun 2012 09:32:50 +0100

Original Message From: "John Cowan"

> It's required in XML, because if you need to have "]]>" in character
> content, it has to be written "]]&gt;" or the NCR equivalent.  MicroXML
> requires all instances of ">" to be "&gt;" for consistency.  However,
> this is not true in attribute values, primarily for compatibility with
> Canonical XML.  I would consider requests to change this.

Escaping > to &gt; can be a bit of a pain when including example code in
XML.

It would be nice to say that nobody in their right mind would include ]]> in
their documents (unless they were documenting XML!) and we can just turn a
blind eye to that XML compatibility issue!  (Googling ]]> yields nothing but 
that might say more about what Google indexes than what is out there.)

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member