I’m getting the error when I’m attempting the following:
XbrlDocument document = new XbrlDocument(@“c:\temp” + @“mysamplefile.xml”);
Project is a .NET 5 core project / C#, using Aspose.Finance 22.5.0.
Stacktrace:
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
at Aspose.Finance.Xbrl.LocalCacheService.(String )
at .()
at .()
at .()
at .(XmlNode )
at .()
at Aspose.Finance.Xbrl.XbrlDocument.(Stream )
at Aspose.Finance.Xbrl.XbrlDocument…ctor(String fileName)
Please notice, I am able to reproduce the issue as you mentioned by using your sample document in a .NET 5.0 Core project. I found an exception “The requested security protocol is not supported” on loading the XBRL document. I have logged a ticket with an id “FINANCENET-168” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.
Additionally, I got the same when I try the following:
Aspose.Finance.Xbrl.XbrlDocument xbrlDocument = new Aspose.Finance.Xbrl.XbrlDocument();
var id = xbrlDocument.XbrlInstances.Add();
var contextInstance = xbrlDocument.XbrlInstances[id];
contextInstance.SchemaRefs.Add(“https://www.xbrl.org/2003/instance”, “xbrli”);
Your are right as I tested it as well. I have logged your findings with the existing ticket “FINANCENET-168” into our database. We will analyze your issue in details.
The issues you have found earlier (filed as FINANCENET-168) have been fixed in this update. This message was posted using Bugs notification tool by WilliamShen
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.