W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 1998

Re: parameter entity references in contentspec's

From: C M Sperberg-McQueen <cmsmcq@uic.edu>
Date: Thu, 12 Nov 1998 11:38:57 -0600
Message-Id: <199811121738.LAA91988@tigger.cc.uic.edu>
To: gzelesnik@es-inc.com
CC: xml-editor@w3.org, cmsmcq@uic.edu
>From: "Gregory Zelesnik" <gzelesnik@es-inc.com>
>Date: Thu, 12 Nov 1998 10:38:32 -0500

>In section 3.2.1 of the XML Standard on Element Content, the validity
>constraint
>labeled "Proper Group/PE Nesting" contains a paragraph on interoperability:
>
>    "For interoperability, if a parameter-entity reference appears in a
>choice, seq, or Mixed construct,
>     its replacement text should not be empty, and neither the first nor
>last non-blank character of the
>     replacement text should be a connector (| or ,)."
>
>Should you include a phrase that indicates that, in these contexts, the
>replacement text should also
>not consist solely of white-space?   If such a parameter entity did consist
>solely of whitespace, then
>a construct like the following:
>
>            ( %stuff | another-type)
>
>would parse as
>
>            (       | another-type)
>
>yielding a syntax error, if there existed a preceding parameter entity
>declaration as follows:
>
>    <!ENTITY % stuff "    ">
>

You are correct; thanks for the suggestion.

-C. M. Sperberg-McQueen
Received on Thursday, 12 November 1998 12:39:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT