This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3375 - fn-data-1 is PSVI based
Summary: fn-data-1 is PSVI based
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 15:20 UTC by Tom Brosens
Modified: 2006-07-17 10:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Tom Brosens 2006-06-20 15:20:59 UTC
XQTS query Functions\AccessorFunc\DataFunc\fn-data-1.xq is expected to fail with FOTY0012. However, when PSVI mapping is not supported, this error condition is not reached.

A solution could be to add an alternative expected result for InfoSet based implementations. This expected result would be:

<?xml version="1.0" encoding="UTF-8"?>
  87
  1.5

Thanks,
Tom.
Comment 1 Carmelo Montanez 2006-06-20 15:32:21 UTC
Tom:

Correct.  An alternate result was added to the expected outcomes.

Thanks,
carmelo
Comment 2 Alberto Massari 2006-06-22 11:42:49 UTC
Can you remove the 'at "examples.xsd"' clause in the 'import schema' statement? Otherwise the test will fail because the schema cannot be found
Comment 3 Carmelo Montanez 2006-06-22 12:41:15 UTC
Alberto:

Done!

Thanks,
carmelo
Comment 4 Tom Brosens 2006-07-05 14:58:50 UTC
Carmelo,

The Infoset based alternative result was indeed added. However, it's missing a text node at the beginning and at the end. At the beginning we expect '0D0A2020', at the end we expect '0D0A20'.

If you agree, could this be changed in the Infoset based expected result of fn-data-1?

Thanks,
Tom.
  
Comment 5 Carmelo Montanez 2006-07-05 19:44:16 UTC
Tom:

Thanks for the message.  Correct.  The whitespaces should be
significant here.

Carmelo
Comment 6 Tom Brosens 2006-07-17 10:27:12 UTC
Fix was verified and OK now (XQTS_current.zip v1.14). Closing.