W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > July 2009

RE: AssocSS issue 15

From: Grosso, Paul <pgrosso@ptc.com>
Date: Wed, 29 Jul 2009 10:28:41 -0400
Message-ID: <CF83BAA719FD2C439D25CBB1C9D1D302105F89CF@HQ-MAIL4.ptcnet.ptc.com>
To: <public-xml-core-wg@w3.org>


> -----Original Message-----
> From: public-xml-core-wg-request@w3.org [mailto:public-xml-core-wg-
> request@w3.org] On Behalf Of Glenn Marcy
> Sent: Wednesday, 2009 July 29 9:15
> To: public-xml-core-wg@w3.org
> Subject: Re: AssocSS issue 15
> 
> 
> >   The grammar given below
> >   assumes that the entire string delimited by '<?' and '?>' is "passed
> >   through"
> 
> This statement is incorrect.  The whitespace following the PITarget will
> be stripped.

No, that statement is not incorrect.  That statement says that
the *grammar given below*, in particular, the production:

  [1] StyleSheetPI ::= '<?xml-stylesheet' S PIBody '?>'

as written assumes the entire string delimited by '<?' and '?>'
is passed to the xml-stylesheet processor.  You can't argue with
that, because it's a statement about how the grammar is written,
not about what processors do.

Henry's also saying it's fine if an XML processor
passes the information to the application in a different
fashion--for example, as the Infoset suggests, which matches
what you are saying--in which case the grammar below should
be adapted as necessary in this regard (e.g., if what the 
xml-stylesheet processor gets is just the [target] and [content] 
infoitems for the PI, then it should parse the [content] against
production [1a]).

paul
Received on Wednesday, 29 July 2009 14:30:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 July 2009 14:30:08 GMT