W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2001

Re: XMLP/SOAP spec - processing instructions

From: <mrossi@csc.com>
Date: Tue, 22 May 2001 11:40:05 -0400
To: xml-dist-app@w3.org
Message-ID: <OF1C8EC2A8.E2422CF9-ON85256A54.00553044@com>
While the XML declaration may not be a PI, I also don't believe it's a
prolog. Maybe it's my SGML background rearing it's head again, but I
believe the prolog to be the portion of a document instance between the [
and ] of a DOCTYPE statement. The XML declaration is just that, the XML
declaration.

Now as for the world of W3C XML Schema, I cannot yet comment on the
definition of prolog (if such a thing exists). But I'd love to hear what
others have to say about that.

Michael A. Rossi
Computer Sciences Corporation
mailto:mrossi@csc.com
856-983-4400 x4911



                                                                                                                            
                    mario.jeckle@daimlerch                                                                                  
                    rysler.com                    To:     <xml-dist-app@w3.org>, <rwaldrop@webmethods.com>                  
                    Sent by:                      cc:                                                                       
                    xml-dist-app-request@w        Subject:     Re: XMLP/SOAP spec - processing instructions                 
                    3.org                                                                                                   
                                                                                                                            
                                                                                                                            
                    05/22/01 11:12 AM                                                                                       
                                                                                                                            
                                                                                                                            



<snip/>
According to syntax production 22 and 23 of XML v1.0 2nd edition the XML
declaration isn't a processing instruction.
PIs are governed by production 16. They are explicitly allowed solely
within
misc (27) and markup declaration (43) but not as child of document
(production
1).
Therefore the XML prolog cannot be a processing instruction.
Historically, it is a processing instruction but only in terms of SGML
telling
a SGML aware processor to process the content after the PI as XML.
Received on Tuesday, 22 May 2001 11:48:14 GMT

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