Project

Profile

Help

Bug #6198

closed

SCM export fails for a schema containing namespace prefixes in an XPath expression

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2023-09-17
Due date:
% Done:

0%

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

Description

Export of a schema containing <xs:selector xpath="s:person"/> succeeds, but the schema cannot be re-imported from the resulting SCM file; it fails saying that the namespace prefix s has not been declared.

The problem appears to be that SchemaModelSerializer.emitNamepaceContext does not actually emit anything to the SCM file.

Please register to edit this issue

Also available in: Atom PDF