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

  • From: tpassin@h...
  • To: <xml-dev@X...>
  • Date: Mon, 10 Jul 2000 08:54:12 -0400

Jacques Steyn asks -

> I am curious to find out why IE5 and XMLSpy in some cases give an error
> message when an element is declared as CDATA, but no error message when
> this is changed to PCDATA, even if the data is NOT supposed to be
> parsed. Doczilla gives no error message.
>
In XML, an element cannot contain CDATA, but can contain #PCDATA.  An
attribute can contain CDATA, but not PCDATA.  So this behavior seems right.

Tom Passin


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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