Schema-aware XSLT and XQuery processing

The error condition that occurs when a path expression such as a/b/c is used, and the schema definition for b does not allow a child named c, is in most cases replaced by a warning. This is because it is possible that the source document will have been validated against a schema containing a complex type derived by extension from the statically-known type of b, in which c is a permitted child. The same applies to attributes.

This also applies to element construction where a child element is constructed whose name is not permitted by the type of the parent element.