Project

Profile

Help

Bug #5820

closed

SaxonCS QT3 test failures with -tree:dom

Added by Michael Kay over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
.NET API
Sprint/Milestone:
-
Start date:
2023-01-15
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
.NET

Description

The QT3 test driver has been enhanced to enable it to take input from a wrapped DOM tree. This reveals a number of test failures, listed below.

Summary

The main failures are:

  • The DOM may include whitespace text nodes as children of the document node; these should be ignored in the XDM view
  • xml:id attributes are not recognized by the id() function
  • The code could be more robust when handling a programmatically-created DOM with inconsistencies such as missing namespace declaration attributes

Failures

31103 successes, 150 failures, 0 incorrect ErrorCode, 505 not run
Failing tests:
  fn-count - 6
  fn-doc - 2
  fn-filter - 2
  fn-for-each-pair - 2
  fn-function-lookup - 4
  fn-generate-id - 6
  fn-has-children - 4
  fn-id - 8
  fn-idref - 6
  fn-innermost - 30
  fn-local-name - 6
  fn-name - 6
  fn-namespace-uri - 6
  fn-outermost - 34
  fn-path - 6
  fn-string - 7
  fn-transform - 2
  fn-unordered - 2
  op-union - 2
  prod-AxisStep - 33
  prod-AxisStep.preceding - 31
  prod-Comment - 2
  prod-CompDocConstructor - 4
  prod-CompElemConstructor - 7
  prod-DirElemContent - 2
  prod-DirElemContent.namespace - 4
  prod-ForClause - 4
  prod-NamedFunctionRef - 4
  prod-NodeTest - 16
  prod-OrderingModeDecl - 4
  prod-ParenthesizedExpr - 4
  prod-UnorderedExpr - 4
  prod-WhereClause - 2
  misc-CombinedErrorCodes - 1
  app-FunctxFn - 2
  app-UseCaseNS - 2
  app-UseCaseSEQ - 2
  app-UseCaseXMP - 2

This is run with SaxonCS 12, but the chances are that the results for SaxonCS 11 will be similar.

Please register to edit this issue

Also available in: Atom PDF