Project

Profile

Help

Bug #4141

'Serializer' does not contain a constructor that takes 0 arguments

Added by Pavel Sekret 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
.NET API
Sprint/Milestone:
Start date:
2019-02-20
Due date:
% Done:

0%

Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
Fixed in Maintenance Release:

Description

saxon_api_serializer_bug.png (11.1 KB) Pavel Sekret, 2019-02-20 14:14 saxon_api_serializer_bug.png

History

#1 Updated by Michael Kay 7 months ago

This was a change that we consciously made in 9.9. The same change was made on the Java side in 9.8. To create a Serializer, please use the factory method Processor.NewSerializer(). We made the change on the Java side because we were getting a lot of problems due to people creating a serializer and not connecting it to a Processor. On the .NET side, the change was necessitated because we have been moving towards the .NET classes in Saxon.Api being a thin veneer over the corresponding classes in the Java s9api package; this helps us to ensure consistency of the two, and to achieve better test coverage.

#2 Updated by Pavel Sekret 7 months ago

Thank you for your answer, Michael. It's working :)

#3 Updated by Michael Kay 7 months ago

  • Status changed from New to Closed

Please register to edit this issue

Also available in: Atom PDF