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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: What is PI data exactly?

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Fri, 16 Oct 1998 10:01:18 -0400

Michael Kay wrote:

> Are you reading the same spec as me? My version of production 16 doesn't
> mention "data" at all; all it says is that if there are characters after the
> PITarget, the first one must be white space.

Granted, but it does use "S", which is used throughout the XML
recommendation to mean "semantically insignificant whitespace".
There is an implicit separation between the one-or-more whitespace
characters expressed by "S" and the remaining characters.

What you said would be better represented by

	((#x20 | #x9 | #xD | #xA) (Char* - (Char* '?>' Char*)))?

> Anyone who
> is spending time writing yet another XML parser would be adding a lot more
> value to the community if they spent their time on producing a formal
> specification instead.

I firmly believe that it is only the experience of implementation
that shakes out these deficiencies.  A formal specification is
essentially a piece of code that the creator believes has been debugged
when it has been desk-checked.

	"Almost all theorems are correct, but almost all
	proofs have bugs."
		-- A mathematician of my acquaintance

John Cowan	http://www.ccil.org/~cowan		cowan@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@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