Actions
Bug #5126
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
SaxonCS: 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