[Home] [By Thread] [By Date] [Recent Entries]

  • From: Paul Prescod <paul@p...>
  • To: xml-dev <xml-dev@i...>
  • Date: Sun, 16 May 1999 08:51:47 -0500

Leigh Dodds wrote:
> 
> Basically I want to say that a tag should:
> 
> 1. Contain #PCDATA, *OR*
> 2. an optional tag X followed by zero or more occurences of tag Y
> 
> I had thought something like : (#PCDATA|(X?, Y*)
> but that doesn't seem to parse.

This is disallowed in XML for historical reasons. In a recent message
entitled "Mixed content considered harmful" (May 10), I proposed that this
should change in the move to XML Schemas.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

Earth will soon support only survivor species -- dandelions, roaches, 
lizards, thistles, crows, rats. Not to mention 10 billion humans.
	- Planet of the Weeds, Harper's Magazine, October 1998


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member