Re: undefined behavior (was document(a,b) for b not a singleton node set)

Subject: Re: undefined behavior (was document(a,b) for b not a singleton node set)
From: James Clark <jjc@xxxxxxxxxx>
Date: Tue, 30 Nov 1999 19:40:17 +0700
Kay Michael wrote:

> - the spec doesn't say whether a Processing Instruction in a stylesheet is
> an error or should be ignored or is a permitted way of doing vendor
> extensions. (Actually it doesn't say anything about comments either, or if
> it does I've missed it.)

Section 3, paragraph 2:

"Processing instructions and comments in the stylesheet are ignored: the
stylesheet is treated as if neither processing instruction nodes nor
comment nodes were included in the tree that represents the stylesheet."

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread