Lists Home |
Date Index |
- From: John Cowan <email@example.com>
- To: XML Dev <firstname.lastname@example.org>
- 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 email@example.com
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:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)