Project

Profile

Help

Bug #5616

closed

SaxonCS 11.3.0 - Namespace missing for elements copied using copy-namespaces="no"

Added by Vijay Bhushan almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2022-07-27
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

I am doing POC on SaxonCS (11.3.0) .net core to upgrade the legacy Saxon9he library with new SaxonCS 11.3.0.

I am using copy-of function in XSLT where expectation is copy the current node and all child nodes with namespaces but namespace were missing for some child nodes thus it generate error for us. Please have a look below error and suggest.

System.Xml.XmlException : 'qri' is an undeclared prefix. Line 2, position 5.

I have attached XSLT, input xml , Previous Output xml (Saxon9he library) and New Output xml (SaxonCS 11.3.0) for your reference


Files

ExtractRequest_v1.xslt (790 Bytes) ExtractRequest_v1.xslt Vijay Bhushan, 2022-07-27 07:57
QuoteRetrievalRequest_SoapWrapper.xml (752 Bytes) QuoteRetrievalRequest_SoapWrapper.xml Vijay Bhushan, 2022-07-27 07:57
Saxon9he Output.xml (361 Bytes) Saxon9he Output.xml Vijay Bhushan, 2022-07-27 07:57
SaxonCS 11.3.0 Output.xml (315 Bytes) SaxonCS 11.3.0 Output.xml Vijay Bhushan, 2022-07-27 07:57

Please register to edit this issue

Also available in: Atom PDF