Non-Validating XML Parsers: Requirements

John Cowan cowan at locke.ccil.org
Tue Aug 4 20:15:55 BST 1998


Michael Kay wrote:

> Thanks for the reference. I've read it now. I'm relieved to
> discover it does not recommend or assign a meaning to the
> phrase "MAY NOT".

You are correct.  Mea culpa.
 
> Wherever "MAY NOT" appears in a (so-called) spec, it either
> means "MUST NOT" or it means "MAY OR MAY NOT", which is a
> synonym for "MAY", and which, as I remarked earlier, is
> formally equivalent to omitting the sentence.

I meant the latter: MAY or may not.

> >
> >> I don't much like "may" either. Everything is permitted
> >> unless the specification prohibits it, a sentence whose
> main
> >> verb is "may" therefore says nothing.

[snip my earlier, flippant response]

Seriously, though, what I wrote was not really a spec, but a
clarification of an existing spec.  In that case, MAY is useful,
for it expresses behavior on which the client cannot depend,
but which may be provided.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list