Actions
Bug #5126
closedSaxonCS: Cannot set character map in Saxon.Api.Serializer
Start date:
2021-10-13
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
11
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
In SaxonCS, Attempting to set a character map via the Serializer API doesn't work.
It should work like this, but this has no effect
Serializer serializer = proc.NewSerializer();
IDictionary<int, string> charMap = new Dictionary<int, string>();
charMap.Add('e', "f");
serializer.SetCharacterMap(new QName("", "m"), charMap);
serializer.SetOutputProperty(new QName("use-character-maps"), "{}m");
serializer.SetOutputProperty(new QName("method"), "xml");
Please register to edit this issue
Actions