W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 1997

RE: XML processing instruction syntax in DAV Spec

From: Jim Whitehead <ejw@ics.uci.edu>
Date: Sun, 14 Dec 1997 17:41:43 -0800
Message-ID: <01BD08B7.8B6177E0.ejw@ics.uci.edu>
To: "'Jim Davis'" <jdavis@parc.xerox.com>, "w3c-dist-auth@w3.org" <w3c-dist-auth@w3.org>
Jim,

Good catch.  You are correct, the spec. should have a terminating "?>". 
 Also, I note that in the current version of the XML specification, the 
"XML" has been changed to lowercase.  The BNF productions for the XML 
version can be found in Section 2.8, Prolog and Document Type Declaration, 
of the XML specification. The version number is part of the XML 
declaration, which is part of a document's prolog.

I will ammend the specification so each XML example begins with:

<?xml version="1.0"?>

- Jim

On Friday, December 12, 1997 1:14 PM, Jim Davis 
[SMTP:jdavis@parc.xerox.com] wrote:
> In the DAV spec, the examples of XML all show the XML processing 
instruction
> as
>
> <?XML version="1.0">
>
> Shouldn't that be
>
> <?XML version="1.0"?>
>
> with a trailing question mark?
>
> Reason I ask is that I'm actually trying the examples in the spec and get
> an error with that processing instruction.  But it could be that my XML
> parser is flaky -- it is not from any known-reliable source.
Received on Sunday, 14 December 1997 20:47:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:44 GMT