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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: PCDATA

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@oreilly.com>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 23 Jul 1999 11:22:58 -0400 (EDT)

[John Martin]
> I have heard three different definitions of PCDATA so far.

Actually, you've heard one through two filters, and a rumor of another.

> 1)  The book called XML: A Primer by Simon St. Laurent defines it as
> follows:
> 
> "parsed character data (#PCDATA)" - Parsed character data is text
> that will be examined by the parser for entities and markup.  Parsed
> character data should not contain any &, <, or > characters; these
> need to be represented by the &amp; &lt; and &gt; entities,
> respectively.
> 
> 2)  Microstar's Near & Far Designer defines it in its help screen as
> follows:
> 
> "Processable Character Data (PCDATA)" - Indicates content that can
> be analyzed and processed.  Mark-up entities will be recognized
> within the text.

These are not incompatible, except for the expansion of the
abbreviation.  On that, Simon is right.  Try:

"parsed character data (#PCDATA)" - Parsed character data is text that
can be analyzed by the parser for entities and markup and processed.
Parsed character data should not contain any &, <, or > characters;
these need to be represented by the &amp; &lt; and &gt; entities,
respectively.  Mark-up entities will be recognized within the text.

> 3)  A colleague of mine swears he saw it defined as "printable
> character data," but can't remember where he saw it.

He may well have seen that, but it was wrong.  There are many weird
interpretations of XML out there, especially from the first crush of
books on the subject.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)



  • References:
    • PCDATA
      • From: John Martin <John.Martin@ncmail.net>



 

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

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