???You cannot use ]]> inside here??? becomes
inside here]]>
TABLE 11.1 Escaping Special Characters in XML
Output
Input Entity Reference
Decimal
Character Reference
Hexadecimal
Character Reference
& & & &
< < < <
> > > >
00 " " "
[tab]
[line feed]
[carriage return]
286 GENERATOR DEFINITION
CDATA sections unfortunately also still mangle carriage returns: that
normalization happens before the document is even parsed. Any carriage return
or ???carriage return + line feed??? pair is mapped to a single line feed character.
Sadly, there seems to be no solution here, since CDATA sections cannot protect
their line breaks from the normalizer by disguising them as numeric character
references.
Encoding Finally, as with any ?¬?le output, there is the problem of character
encoding. If your XML ?¬?le will only be processed on the computer where it was
generated, you may hope things would just work, and indeed in this case they just
might. If you hope that your ?¬?le would only ever contain good honest 7-bit ASCII
characters, you will almost certainly be disappointed: aside from exotic foreign
characters and exciting new currency symbols, somebody is bound to paste some
???smart quotes??? from Word into a model, opening Pandora??™s box.
Pages:
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532