[Bug 29976] [FO31] Schema for fn:analyze-string allows outermost element to have mixed content

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29976

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I guess one possible rationale for putting mixed="true" here is that it makes
it legitimate to take the atomizing value of the fn:analyze-string element, for
example one can do:

substring-before(fn:analyze-string, (fn:analyze-string//fn:group[@nr='1']))

to get the text before the first captured group. (Atomizing an element with
element-only content is not allowed, for paternalistic reasons.) I don't think
that's a strong enough argument; though we might choose here to remain
bug-compatible with 3.0.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 3 November 2016 11:29:32 UTC