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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: John replies to Ron: Differences

[ Lists Home | Date Index | Thread Index ]
  • From: rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 4 Jun 1998 18:10:56 +0200

John Cowan writes:

> Ron Bourret writes:
>
> > To indicate a PCDATA-only element, I use a PCData element while John
> > uses an empty MIXED element. Although the PCData element is not
> > strictly necessary, I think the commonality of PCDATA-only content
> > makes it useful. 
> 
> I was thinking that PCDATA-only content is not so common.  Most of
> the time, textual elements contain fancy-text information like bold,
> italic, or whatever.  Pure plain text with no markup allowed probably
> makes the most sense in title elements and such.

Content models of PCDATA and EMPTY represent the terminals in DTDs.  That is, 
bold, italic, etc. have a PCDATA content model.  Furthermore, in more data (as 
opposed to document) applications of XML, PCDATA-only content seems to be 
relatively common.  For the moment, I have left PCData in and required Mixed to 
take at least one ElementRef, per your earlier suggestion.

-- Ron Bourret

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/
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)





 

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

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