[Prev][Next][Index][Thread]

Re: RS/RE: basic questions



On Sun, 22 Sep 1996 21:30:55 -0700, Joe English <jenglish@crl.com> wrote:

>
>Charles@sgmlsource.com (Charles F. Goldfarb) wrote:
>>
>> There's only ever been one rule: An RE that exists only because of markup is
>> ignored. (It's the application of the rule that causes confusion.)
>>
>> If we delimit pseudo-elements, then the rule is: undelimited REs are ignored,
>> delimited ones are data.
>
>... but they can still be moved around in the presence 
>of processing instructions, markup declarations, and 
>included subelements.
Not at all. Nothing is allowed within a delimited pseudo-element except data.

>(Personally I wouldn't mind disallowing inclusion
>exceptions, and restricting PIs and comment declarations
>to element content or even to the prolog; but I do think 
>that disallowing mixed content is too restrictive.)
What you've just said you "wouldn't mind" has the effect of disallowing mixed
content. My proposal is *less* restrictive, because by delimiting the
pseudo-elements you don't need to restrict PIs, etc.

<p>
"Here is data
on multiple lines "
<?XMLPI with a PI>
"and more data after the PI."
</p>

--
Charles F. Goldfarb * Information Management Consulting * +1(408)867-5553
           13075 Paramount Drive * Saratoga CA 95070 * USA
  International Standards Editor * ISO 8879 SGML * ISO/IEC 10744 HyTime
 Prentice-Hall Series Editor * CFG Series on Open Information Management
--


References: