Export (0) Print
Expand All

2.2.9 [W3C-XSLT] Section 7.3, Creating Processing Instructions

C0010:

The specification states:

It is an error if the string that results from instantiating the name attribute is
not both an NCName and a PITarget. An XSLT processor may signal the error; if it 
does not signal the error, it must recover by not adding the processing instruction
to the result tree.

MSXML3 and MSXML6

An error is signaled if the string that results from instantiating the name attribute is not both an NCName and a PITarget.

C0011:

The specification states:

It is an error if instantiating the content of xsl:processing-instruction creates
nodes other than text nodes. An XSLT processor may signal the error; if it does not
signal the error, it must recover by ignoring the offending nodes together with 
their content.

MSXML3 and MSXML6

The offending nodes and their content are ignored.

C0012:

The specification states:

It is an error if the result of instantiating the content of the 
xsl:processing-instruction contains the string ?>. An XSLT processor may signal the
error; if it does not signal the error, it must recover by inserting a space after
any occurrence of ? that is followed by a >.

MSXML3 and MSXML6

A space is inserted after any occurrence of a "?" that occurs immediately before a ">". That is, a space is inserted between a "?" and a ">". The result is "? >".

Show:
© 2014 Microsoft