Test Report

Stylesheet: xspec-three-dots.xsl

Tested: ONCE-UPON-A-TIME

Contents

passed: 42 pending: 0 failed: 30 total: 72
For resultant element (simple) 5 0 2 7
For resultant element (with attribute) 2 0 1 3
For resultant element (with mixed content) 4 0 1 5
For resultant attribute 5 0 1 6
For resultant text node 4 0 5 9
For resultant comment 5 0 1 6
For resultant processing instruction 5 0 1 6
For resultant document node 5 0 2 7
For resultant namespace node (TODO: xspec/xspec#67) 3 0 4 7
For resultant sequence of multiple nodes 2 0 3 5
When result is empty sequence 0 0 1 1
For resultant atomic value 2 0 4 6
For any resultant item 0 0 4 4

For resultant element (simple)passed: 5 / pending: 0 / failed: 2 / total: 7

For resultant element (simple) passed: 5 / pending: 0 / failed: 2 / total: 7
When result is <elem>text</elem> passed: 2 / pending: 0 / failed: 0 / total: 2
expecting <elem>...</elem> should be Success Success
expecting ... should be Success Success
When result is <elem /> passed: 1 / pending: 0 / failed: 1 / total: 2
expecting <elem>...</elem> should be Success Success
expecting <elem attrib="..." /> should be Failure Failure
When result is <elem>...</elem> passed: 2 / pending: 0 / failed: 1 / total: 3
expecting <elem>...</elem> should be Success Success
expecting ... should be Success Success
expecting <elem>text</elem> should be Failure Failure

For resultant element (simple) When result is <elem />

expecting <elem attrib="..." /> should be Failure

Result Expected Result
<elem />
<elem attrib="..." />

For resultant element (simple) When result is <elem>...</elem>

expecting <elem>text</elem> should be Failure

Result Expected Result
<elem>...</elem>
<elem>text</elem>

For resultant element (with attribute)passed: 2 / pending: 0 / failed: 1 / total: 3

For resultant element (with attribute) passed: 2 / pending: 0 / failed: 1 / total: 3
When result is <elem attrib="val" /> passed: 2 / pending: 0 / failed: 1 / total: 3
expecting <elem attrib="..." /> should be Success Success
expecting ... should be Success Success
expecting <elem>...</elem> should be Failure Failure

For resultant element (with attribute) When result is <elem attrib="val" />

expecting <elem>...</elem> should be Failure

Result Expected Result
<elem attrib="val" />
<elem>...</elem>

For resultant element (with mixed content)passed: 4 / pending: 0 / failed: 1 / total: 5

For resultant element (with mixed content) passed: 4 / pending: 0 / failed: 1 / total: 5
When result is <outer>text<inner1 /><inner2 /></outer> passed: 3 / pending: 0 / failed: 0 / total: 3
expecting <outer>...</outer> should be Success Success
expecting <outer>...<inner1 />...</outer> should be Success Success
expecting ... should be Success Success
When result is <outer><inner /></outer> passed: 1 / pending: 0 / failed: 1 / total: 2
expecting <outer>...</outer> should be Success Success
expecting <outer>...<inner /></outer> should be Failure Failure

For resultant element (with mixed content) When result is <outer><inner /></outer>

expecting <outer>...<inner /></outer> should be Failure

Result Expected Result
<outer>
   <inner />
</outer>
<outer>...<inner />
</outer>

For resultant attributepassed: 5 / pending: 0 / failed: 1 / total: 6

For resultant attribute passed: 5 / pending: 0 / failed: 1 / total: 6
When result is @attrib="val" passed: 2 / pending: 0 / failed: 0 / total: 2
expecting @attrib="..." should be Success Success
expecting ... should be Success Success
When result is @attrib="" passed: 1 / pending: 0 / failed: 0 / total: 1
expecting @attrib="..." should be Success Success
When result is @attrib="..." passed: 2 / pending: 0 / failed: 1 / total: 3
expecting @attrib="..." should be Success Success
expecting ... should be Success Success
expecting @attrib="val" should be Failure Failure

For resultant attribute When result is @attrib="..."

expecting @attrib="val" should be Failure

Result Expected Result

XPath /*/(@* | node()) from:

<temp attrib="..." />

XPath /*/(@* | node()) from:

<temp attrib="val" />

For resultant text nodepassed: 4 / pending: 0 / failed: 5 / total: 9

For resultant text node passed: 4 / pending: 0 / failed: 5 / total: 9
When result is usual text node passed: 1 / pending: 0 / failed: 1 / total: 2
expecting ... should be Success Success
expecting '...' should be Failure Failure
When result is whitespace-only text node passed: 1 / pending: 0 / failed: 1 / total: 2
expecting ... should be Success Success
expecting usual text node should be Failure Failure
When result is zero-length text node passed: 1 / pending: 0 / failed: 1 / total: 2
expecting ... should be Success Success
expecting usual text node should be Failure Failure
When result is three-dot text node passed: 1 / pending: 0 / failed: 2 / total: 3
expecting ... should be Success Success
expecting usual text node should be Failure Failure
expecting '...' should be Failure Failure

For resultant text node When result is usual text node

expecting '...' should be Failure

Result Expected Result

XPath /node() from:

text
'...'

For resultant text node When result is whitespace-only text node

expecting usual text node should be Failure

Result Expected Result

XPath /node() from:

\t\n\r.

XPath /node() from:

text

For resultant text node When result is zero-length text node

expecting usual text node should be Failure

Result Expected Result

XPath /node() from:

XPath /node() from:

text

For resultant text node When result is three-dot text node

expecting usual text node should be Failure

Result Expected Result

XPath /node() from:

...

XPath /node() from:

text

expecting '...' should be Failure

Result Expected Result

XPath /node() from:

...
'...'

For resultant commentpassed: 5 / pending: 0 / failed: 1 / total: 6

For resultant comment passed: 5 / pending: 0 / failed: 1 / total: 6
When result is <!--comment--> passed: 2 / pending: 0 / failed: 0 / total: 2
expecting <!--...--> should be Success Success
expecting ... should be Success Success
When result is <!----> passed: 1 / pending: 0 / failed: 0 / total: 1
expecting <!--...--> should be Success Success
When result is <!--...--> passed: 2 / pending: 0 / failed: 1 / total: 3
expecting <!--...--> should be Success Success
expecting ... should be Success Success
expecting <!--comment--> should be Failure Failure

For resultant comment When result is <!--...-->

expecting <!--comment--> should be Failure

Result Expected Result

XPath /node() from:

<--...-->

XPath /node() from:

<--comment-->

For resultant processing instructionpassed: 5 / pending: 0 / failed: 1 / total: 6

For resultant processing instruction passed: 5 / pending: 0 / failed: 1 / total: 6
When result is <?pi data?> passed: 2 / pending: 0 / failed: 0 / total: 2
expecting <?pi ...?> should be Success Success
expecting ... should be Success Success
When result is <?pi?> passed: 1 / pending: 0 / failed: 0 / total: 1
expecting <?pi ...?> should be Success Success
When result is <?pi ...?> passed: 2 / pending: 0 / failed: 1 / total: 3
expecting <?pi ...?> should be Success Success
expecting ... should be Success Success
expecting <?pi data?> should be Failure Failure

For resultant processing instruction When result is <?pi ...?>

expecting <?pi data?> should be Failure

Result Expected Result

XPath /node() from:

<?pi ...?>

XPath /node() from:

<?pi data?>

For resultant document nodepassed: 5 / pending: 0 / failed: 2 / total: 7

For resultant document node passed: 5 / pending: 0 / failed: 2 / total: 7
When result is <xsl:document><?pi?><!--comment--><elem /></xsl:document> passed: 2 / pending: 0 / failed: 0 / total: 2
expecting <xsl:document>...</xsl:document> should be Success Success
expecting ... should be Success Success
When result is <xsl:document /> passed: 1 / pending: 0 / failed: 1 / total: 2
expecting ... should be Success Success
expecting <xsl:document>...</xsl:document> should be Failure Failure
When result is <xsl:document>...</xsl:document> passed: 2 / pending: 0 / failed: 1 / total: 3
expecting <xsl:document>...</xsl:document> should be Success Success
expecting ... should be Success Success
expecting <xsl:document>text</xsl:document> should be Failure Failure

For resultant document node When result is <xsl:document />

expecting <xsl:document>...</xsl:document> should be Failure

Result Expected Result
/

XPath / from:

...

For resultant document node When result is <xsl:document>...</xsl:document>

expecting <xsl:document>text</xsl:document> should be Failure

Result Expected Result

XPath / from:

...

XPath / from:

text

For resultant namespace node (TODO: xspec/xspec#67)passed: 3 / pending: 0 / failed: 4 / total: 7

For resultant namespace node (TODO: xspec/xspec#67) passed: 3 / pending: 0 / failed: 4 / total: 7
When result is xmlns:prefix="namespace-uri" passed: 1 / pending: 0 / failed: 1 / total: 2
expecting xmlns:prefix="..." should be Success Failure
expecting ... should be Success Success
When result is xmlns="namespace-uri" passed: 1 / pending: 0 / failed: 1 / total: 2
expecting xmlns="..." should be Success Failure
expecting ... should be Success Success
When result is xmlns:prefix="..." passed: 1 / pending: 0 / failed: 2 / total: 3
expecting xmlns:prefix="..." should be Success Failure
expecting ... should be Success Success
expecting xmlns:prefix="namespace-uri" should be Failure Failure

For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns:prefix="namespace-uri"

expecting xmlns:prefix="..." should be Success

Result Expected Result
/node()
/node()

For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns="namespace-uri"

expecting xmlns="..." should be Success

Result Expected Result
/node()
/node()

For resultant namespace node (TODO: xspec/xspec#67) When result is xmlns:prefix="..."

expecting xmlns:prefix="..." should be Success

Result Expected Result
/node()
/node()

expecting xmlns:prefix="namespace-uri" should be Failure

Result Expected Result
/node()
/node()

For resultant sequence of multiple nodespassed: 2 / pending: 0 / failed: 3 / total: 5

For resultant sequence of multiple nodes passed: 2 / pending: 0 / failed: 3 / total: 5
When result is sequence of <elem1 /><elem2 /> passed: 2 / pending: 0 / failed: 3 / total: 5
expecting ...<elem2 /> should be Success Success
expecting sequence of two ... should be Success Success
expecting ... should be Failure Failure
expecting ...... should be Failure Failure
expecting sequence of three ... should be Failure Failure

For resultant sequence of multiple nodes When result is sequence of <elem1 /><elem2 />

expecting ... should be Failure

Result Expected Result
<elem1 /><elem2 />

XPath /node() from:

...

expecting ...... should be Failure

Result Expected Result
<elem1 /><elem2 />

XPath /node() from:

......

expecting sequence of three ... should be Failure

Result Expected Result
<elem1 /><elem2 />

XPath /node() from:

.........

When result is empty sequencepassed: 0 / pending: 0 / failed: 1 / total: 1

When result is empty sequence passed: 0 / pending: 0 / failed: 1 / total: 1
expecting ... should be Failure Failure

When result is empty sequence

expecting ... should be Failure

Result Expected Result
()

XPath /node() from:

...

For resultant atomic valuepassed: 2 / pending: 0 / failed: 4 / total: 6

For resultant atomic value passed: 2 / pending: 0 / failed: 4 / total: 6
When result is 'string' passed: 1 / pending: 0 / failed: 2 / total: 3
expecting 'string' should be Success Success
expecting ... should be Failure Failure
expecting '...' should be Failure Failure
When result is '...' passed: 1 / pending: 0 / failed: 2 / total: 3
expecting '...' should be Success Success
expecting ... should be Failure Failure
expecting 'string' should be Failure Failure

For resultant atomic value When result is 'string'

expecting ... should be Failure

Result Expected Result
'string'

XPath /node() from:

...

expecting '...' should be Failure

Result Expected Result
'string'
'...'

For resultant atomic value When result is '...'

expecting ... should be Failure

Result Expected Result
'...'

XPath /node() from:

...

expecting 'string' should be Failure

Result Expected Result
'...'
'string'

For any resultant itempassed: 0 / pending: 0 / failed: 4 / total: 4

For any resultant item passed: 0 / pending: 0 / failed: 4 / total: 4
expecting .... (four dots) should be Failure Failure
expecting ...x (three dots with extra character) should be Failure Failure
expecting ... with surrounding whitespace should be Failure Failure
expecting '...' (xs:string) should be Failure Failure

For any resultant item

expecting .... (four dots) should be Failure

Result Expected Result

XPath /node() from:

item

XPath /node() from:

....

expecting ...x (three dots with extra character) should be Failure

Result Expected Result

XPath /node() from:

item

XPath /node() from:

...x

expecting ... with surrounding whitespace should be Failure

Result Expected Result

XPath /node() from:

item

XPath /node() from:

 ...

expecting '...' (xs:string) should be Failure

Result Expected Result

XPath /node() from:

item
'...'