Re: Occurrence indicators for #PCDATA

Dave Raggett (
Mon, 28 Jul 1997 08:40:20 -0400 ()

Date: Mon, 28 Jul 1997 08:40:20 -0400 ()
From: Dave Raggett <>
To: Holger Wahlen <wahlen@ph-cip.Uni-Koeln.DE>
Subject: Re: Occurrence indicators for #PCDATA
In-Reply-To: <>
Message-ID: <Pine.WNT.3.95.970728083736.-148885E-100000@holly>

On Sat, 26 Jul 1997, Holger Wahlen wrote:

> Is there any difference between
> 	(#PCDATA),
> 	(#PCDATA)?,
> 	(#PCDATA)+
> and	(#PCDATA)*
> in an element content? I've just recently started to make
> myself familiar with the SGML background of HTML, so my
> picture of #PCDATA may be wrong, but I have the imagination
> that this refers to something of arbitrary length, which
> would mean that all four expressions would be equivalent. On
> the other hand, I have found there are HTML elements (TITLE,
> OPTION, TEXTAREA) that have (#PCDATA)* instead of simply
> (#PCDATA) as their content, which makes me suspect they are
> not quite the same. So, what's the right point of view?

This is a stylistic issue, but the DTD should be consistent
in this regard. Based on Holger's message and other input I
propose to use (#PCDATA) thoughout.


-- Dave Raggett <>
phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)