Project

Profile

Help

Bug #6092

Updated by Michael Kay over 1 year ago

To implement the rules for the proposed xsl:note element in the schema for XSLT 4.0, I am using a `defaultOpenContent` declaration with `appliesToEmpty=true`. This doesn't appear to be working: test case note-007`, which has an `xsl:note` element as a child of `xsl:strip-space`, is rejected as invalid. 

 **Summary** 

 `defaultOpenContent` with `appliesToEmpty=true` is not working in the case of a complex type with a locally empty content model that is derived by extension from another complex type with a locally empty content model; the resulting type is classified (and validated) as empty without taking the openContent into account.

Back