RE: AssocSS issue 15

> -----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 UTC