[Bug 28638] [QT3] innermost-020 permutation assertion does not include all allowed outcomes

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
I agree, it would be better to select (16 to 19).

Saxon passes this test by accident. Here are the relevant namespace nodes as
shown by Saxon:

   <n pos="16" pre="level000" uri="level:000" parent="level"/>
   <n pos="17" pre="level00" uri="level:00" parent="level"/>
   <n pos="18" pre="level0" uri="level:0" parent="level"/>
   <n pos="19" pre="xml" uri="http://www.w3.org/XML/1998/namespace"
parent="level"/>
   <n pos="20" pre="level000" uri="level:000" parent="empty-level-000"/>
   <n pos="21" pre="level00" uri="level:00" parent="empty-level-000"/>
   <n pos="22" pre="level0" uri="level:0" parent="empty-level-000"/>
   <n pos="23" pre="xml" uri="http://www.w3.org/XML/1998/namespace"
parent="empty-level-000"/>

For reference here is the stylesheet used to produce this list:

<xsl:stylesheet exclude-result-prefixes="#all" version="2.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output indent="yes" saxon:line-length="120"
xmlns:saxon="http://saxon.sf.net/"/>
    <xsl:template  name="main">
        <out>
        <xsl:for-each
select="doc('file:///Users/mike/w3c/qt3t/QT3-test-suite/fn/innermost/innermost.xml')//namespace::*">
            <n pos="{position()}" pre="{name()}" uri="{string(.)}"
parent="{name(..)}"/>
        </xsl:for-each>
        </out>
    </xsl:template>
</xsl:stylesheet>

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

Received on Tuesday, 16 June 2015 16:55:10 UTC