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 29412 - [QT3] Dependency missing in bunch of fn-parse-json tests
Summary: [QT3] Dependency missing in bunch of fn-parse-json tests
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-31 17:56 UTC by Abel Braaksma
Modified: 2016-03-01 16:12 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2016-01-31 17:56:39 UTC
The catalog sets the dependency for the fn-parse-json tests globally to XT30+ and XP31, however, some tests are not XT30+ but only XP31.

The following tests use the arrow operator and are therefore dependent on XP31 only and not XT30:

fn-parse-json-056
fn-parse-json-057
fn-parse-json-058
fn-parse-json-062
fn-parse-json-063
fn-parse-json-064
fn-parse-json-065
fn-parse-json-066
fn-parse-json-941
fn-parse-json-942
fn-parse-json-943
fn-parse-json-944
fn-parse-json-945
Comment 1 Abel Braaksma 2016-02-01 03:56:02 UTC
The following tests suffer the same issue (they use '=>' in the test):

map-get-023
map-get-024
map-put-021
map-put-023
map-remove-014
map-remove-015
map-remove-016
map-size-014
Comment 2 O'Neil Delpratt 2016-02-01 10:23:03 UTC
I agree  will Abel's observation. I will fix the tests indicated with local spec dependencies to 'XP31+' and 'XQ31+'.
Comment 3 O'Neil Delpratt 2016-02-01 10:58:58 UTC
Fixes committed to cvs, with the exception of 'fn-parse-json-065' - I think no change required.
Comment 4 Abel Braaksma 2016-02-01 18:27:23 UTC
> with the exception of 'fn-parse-json-065' - I think no change required.
I agree, copy/paste error on my end.

Tx for the changes. Closing.
Comment 5 Abel Braaksma 2016-02-01 19:26:06 UTC
Sorry, reopening.

None of the tests of parse-json should be marked XT30. This is what we say about this in XSLT 3.0:

"XPath 3.1 incorporates the functions defined in this section. It also provides additional JSON capability, in the form of functions parse-json, json-doc, and extensions to the serializeFO30 function. These facilities are incorporated in XSLT 3.0 only if the XPath 3.1 feature is supported. They depend on support for arrays."

In other words, these are part of XP31, not XT30 + map features (for which I believe the XT30 token was created).
Comment 6 O'Neil Delpratt 2016-03-01 16:12:42 UTC
Global Dependency on XT30 removed