From 6f5417d33eea443459131b9657ebdf284aa0c67c Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Wed, 14 Nov 2001 01:16:34 +0000 Subject: [PATCH] Add aparagraph that notes CDATA and RCDATA is not validated, and suggest that SGML examples are validated externally. Approved by: nik Original idea by: Michael Lucas --- .../books/fdp-primer/sgml-primer/chapter.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/en_US.ISO8859-1/books/fdp-primer/sgml-primer/chapter.sgml b/en_US.ISO8859-1/books/fdp-primer/sgml-primer/chapter.sgml index 18add92569..b966912874 100644 --- a/en_US.ISO8859-1/books/fdp-primer/sgml-primer/chapter.sgml +++ b/en_US.ISO8859-1/books/fdp-primer/sgml-primer/chapter.sgml @@ -1372,6 +1372,15 @@ nsgmls:example.sgml:6:8:E: end tag for "HEAD" which is not finished parser encounters this it will ignore the < and & symbols embedded in the content. + + When you use CDATA or + RCDATA in examples of text marked up in SGML, + keep in mind that the content of CDATA is not + validated. You have to check the included SGML text using other + means. You could, for example, write the example in another + document, validate the example code, and then paste it to your + CDATA content. +