Project

Profile

Help

Bug #5820

Updated by Michael Kay almost 2 years ago

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** 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.

Back