w3c / qtspecs

XSLT and XQuery Specifications - the source used to build the specs, and the errata
Other
30 stars 25 forks source link

[xslt30] No clear statement that using an undefined XSLT element is a static error #38

Closed michaelhkay closed 2 years ago

michaelhkay commented 2 years ago

The specification appears to contain no clear statement that using an undefined element in the XSLT namespace is a static error.

It's clear that it's NOT a static error in forwards compatibility mode, but otherwise, there's no explicit statement.

The definition of error XTSE0010 almost says it, but not quite.

Note that the term "XSLT element" is defined as "an element in the XSLT namespace defined in this specification"; an element in the XSLT namespace that's not defined in the specification is therefore technically not an XSLT element.

michaelhkay commented 2 years ago

I have added this rule to section 3.1 in the XSLT 4.0 draft.