- From: <bugzilla@jessica.w3.org>
- Date: Thu, 03 Nov 2016 11:20:38 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29976
Bug ID: 29976
Summary: [FO31] Schema for fn:analyze-string allows outermost
element to have mixed content
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators 3.1
Assignee: mike@saxonica.com
Reporter: mike@saxonica.com
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
The prose specification for fn:analyze-string says:
The function returns an element node whose local name is analyze-string-result.
This element and all its descendant elements have the namespace URI
http://www.w3.org/2005/xpath-functions. The namespace prefix is
·implementation-dependent·. The children of this element are a sequence of
fn:match and fn:non-match elements. This sequence is formed by breaking the
$input string into a sequence of strings, returning any substring that matches
$pattern as the content of a match element, and any intervening substring as
the content of a non-match element.
But the schema describes analyze-string-result-type with mixed="true", thus
allowing an xsl:analyze-string element to have text node children. I believe
this should be mixed="false".
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 3 November 2016 11:20:45 UTC