Project

Profile

Help

Bug #5803

closed

XPathExampleSA schema-aware sample application is failing

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2023-01-10
Due date:
% Done:

100%

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

Description

This sample application is failing on the 12.x branch, but the erroneous code is also present in 11.x and earlier releases.

The sample uses the JAXP XPath API, but with schema-aware processing.

The extension function ToCentimetres is expecting the first argument to be supplied as a list of BigDecimal values - presumably based on the validated type of the DIMENSIONS element. It is actually being supplied as a single BigDecimal value.

Please register to edit this issue

Also available in: Atom PDF