W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 1999

Re: Processing Instruction names: specifically, xml-stylesheet

From: James Clark <jjc@jclark.com>
Date: Wed, 01 Dec 1999 07:37:39 +0700
Message-ID: <38446DD3.2E1C0859@jclark.com>
To: Kay Michael <Michael.Kay@icl.com>
CC: "'xsl-editors@w3.org'" <xsl-editors@w3.org>


Kay Michael wrote:
> 
> XSLT Section 7.3 states that <xsl:processing-instruction> cannot be used to
> output a PI unless its name is both an NCName and a PITarget.
> 
> XML production rule 26

You mean 17 I think.

> says that a PITarget is a Name other than one
> beginning with the letters "xml" in either upper or lower case.

It doesn't say this.  It says it is a name other than one that *is*
"xml" in upper or lower case.

> Is it intended that an XSLT processor should be able to output an
> <?xml-stylesheet?> PI, or not?

It is allowed because it is a PITarget.

> What if other reserved PITarget names are introduced in "this or future
> versions of [the XML] specification"?

They too would be allowed because they are PITargets.

James
Received on Tuesday, 30 November 1999 19:52:19 GMT

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