Project

Profile

Help

Bug #6057

closed

xquery copy attributes fails

Added by Khalil Rahmouni 11 months ago. Updated 11 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-06-01
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Java

Description

we use a similar code to the following to copy element and attributes with xquery, it works fine with 9.7 but it fails with 11.5 ee version with the following exception net.sf.saxon.trans.XPathException: Cannot copy attributes whose type is namespace-sensitive (QName or NOTATION): @n1:type If i remove the validation then it works .


Files

first.xq (447 Bytes) first.xq Khalil Rahmouni, 2023-06-01 18:43
first.xml (355 Bytes) first.xml Khalil Rahmouni, 2023-06-01 18:43
first.xsd (608 Bytes) first.xsd Khalil Rahmouni, 2023-06-01 18:43
simple.xsd (449 Bytes) simple.xsd Khalil Rahmouni, 2023-06-01 18:43

Please register to edit this issue

Also available in: Atom PDF