OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: CDATA, PCDATA and IE5 XMLspy

[ Lists Home | Date Index | Thread Index ]
  • From: tpassin@home.com
  • To: <xml-dev@XML.ORG>
  • 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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS