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

Re: B.5/B.6 Restrict PCDATA in content models?



Charles F. Goldfarb wrote:
> 
> On Sat, 12 Oct 96 15:06:39 CDT, Michael Sperberg-McQueen
> <U35395@UICVM.CC.UIC.EDU> wrote:
> 
> >On 16 October 1996, the ERB will vote to decide the following question.
> >A straw poll indicates the question needs further discussion in the work
> >group.
> >
> >B.5 Should XML restrict the use of the PCDATA token in content models,
> >to simplify RE handling or eliminate the Mixed Content Problem?  (7.6.1,
> >11.2.4)
> >
> >  * B.5 restrict PCDATA to models of the form (#PCDATA)
> >  * B.6 restrict PCDATA to models of the form (#PCDATA | x ... | z)*
> 
> I strongly prefer B.5, but B.6 would be better than unrestricted use of #PCDATA.
> --
> Charles F. Goldfarb 

I concur on both points.  B.5 is the simple case and always easy to
understand.
B.6 is common practice but in nested cases, leads to messy instances
particularly 
in cut and paste operations.

len


References: