pcdata

what actually is PCDATA and CDATA?

it seems that a loose definition of PCDATA and CDATA is that 1) PCDATA is character data, but is to be parsed. 2) CDATA is character data, and is not to be parsed. but then someone told me that CDATA is actually parsed or PCDATA is actually not parsed... so it is a bit of a confusion. Does anyone know the real deal is? Update: I act...

Element Declaration: Defining content as #PCDATA and one occurence of child element

In the xml spec, it says: [Definition: An element type has mixed content when elements of that type may contain character data, optionally interspersed with child elements.] In this case, the types of the child elements may be constrained, but not their order or their number of occurrences Is there any way to work around this to make t...

Why is this not a valid XML DTD? (Parameter entity and #PCDATA)

Hi, Using the DTD validator here, I am informed that the following DTD is invalid. <!ENTITY % text "(#PCDATA|L)*"> <!ELEMENT H (%text;)+> <!ELEMENT L (#PCDATA)> The error message is: "A '(' character or an element type is required within declaration of element type "H"." at line 2, column 22. Can anyone please point ...