.NET library for use with XBRL or XLINK - xlink

Does anyone know of a good .NET library I can use to process XBRL or XLINK documents?

Gepsio: XBRL Document Object Model for .NET

I would go for Altova XML library instead

There is the GEPSIO Open Source project.
However, GEPSIO doesn't support all XBRL specifications, just XBRL 2.1 (and even this seems incomplete).
There is another commercial XBRL .NET API available at that supports all specifications: The AMANA XBRL Engine
Please see official list of "Tools and services" on xbrl.org.

Related

Package indesign document with SDK c++

I would like to package an indesign document through the SDK (c++ or javascript, it doesn't matter) but I cannot find any documentation.
Does anyone know if it is possible?
This is the duplication of the question Packaging a document with Indesign SDK that was marked as answered but the accepted answer describes how to package via UI and NOT via SDK.
Thanks!
Yes, you can do this with JavaScript. All you need to do is call the packageForPrint method of InDesign's document object and use a whole lot of booleans to set the options (see the linked doc page for details).

WSO2 ESB 5.0.0: How to replace bundled old Saxon 9.4.0.4 with the latest 9.7.0.11 to get support of XSLT 3.0 and XPath 3.1 for XML transformation?

I have a question regarding WSO2, Enterprise Service Bus, version 5.0.0, on MS Windows 7.
Can I replace bundled old Saxon 9.4.0.4 with the latest 9.7.0.11 (to get support of XSLT 3.0 and XPath 3.1 for XML transformation)? The bundled Saxon is in ".\wso2esb-5.0.0.zip\wso2esb-5.0.0\lib\endorsed\saxon9he.jar". It is Saxon, Java version, Home Edition, version 9.4.0.4, if I am right. When I replace it with the latest Saxon, HE, 9.7.0.11, I get many Java Exceptions.
So, is it possible, recommended, supported... to replace bundled old Saxon with the new one and/or even with licensed PE or EE 9.7.n.n?
Thank You in advance, Stepan
In general when an application bundles a specific version of Saxon there is no way of telling whether you can substitute a different version of Saxon except by (a) consulting the documentation of the application (if you're lucky) or (b) trying it to see if it works.
If the application sticks to the most stable APIs in Saxon then it will probably work, but if it dives down deeper to achieve closer integration then it may well make itself dependent on something that changes between Saxon releases.
That could be the case here. It's not entirely clear, but the error message
failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom
could suggest that the application is attempting to instantiate the Saxon XPath engine using the JAXP search mechanism, which we withdrew in Saxon 9.6 for reasons explained here:
https://saxonica.plan.io/issues/1944

v8 javascript API documentation to work in c

Could any one point me to the [v8 javascript API documentation to work in c] so that I could find proper functions, their uses and return types for doing things, the various API's available on internet are old and the newer v8 is particularly not compatible with those (pre 2013)
check this out..
http://izs.me/v8-docs/namespacev8.html
This set of documents provides reference material generated from the V8 header file;
And For other documentation check this
http://code.google.com/apis/v8/
I've created a GitHub repository that is intended as up-to-date v8 API reference. Check out: http://peerigon.github.io/v8-docs/
To update the documentation, just fork the repo and run doxygen: https://github.com/peerigon/v8-docs

Track C++ application with google analytics

Is a possibility to track my C++ application usage using google analytics?
to track application usage with google analytics is necessary to generate http request to this url:
*
http://www.google-analytics.com/__utm.gif?
utmwv=3&
utmn=<random number>&
utme=&
utmcs=ISO-8859-1&
utmsr=1280x1024&
utmsc=24-bit&
utmul=en-us&
utmje=1&
utmfl=-&
utmhn=<www.stopka.us>&
utmhid=2112093191&
utmr=-&
utmp=/login.php?user=12&
utmac=UA-XXXXX-1&
utmcc=__utma%3D1.<unique id>.<time (in sec's since Jan 1, 1970) of first
visit).<time of last visit>.<time of current visit>.<visit count>%3B
%2B
__utmz%3D1.1203103189.1.1.utmcsr%3D<source>%7Cutmccn%3D<campaign>
%7Cutmcmd%3D<medium>%3B
*
all parameters is possible to fill with it's user env. values.
This way is not convenient enough.
So, I create my own library. I call it UsageAnalytics and distribute it as open source project at: http://code.google.com/p/usageanalytics/
thanks for all for participation, thanks for me for the library.
btw. cause code.google.com outdated, I've moved that stuff to
https://github.com/vyemialyanchyk/usageanalytics
By now you may have already solved your need, but for what it's worth, my firm has also released a C library supporting Google's Universal Analytics Measurement Protocol.
https://github.com/analytics-pros/universal-analytics-c
Good luck!
Google has a library for accessing Analytics API from C++, it's in "alpha", but it looks like what you want... https://developers.google.com/api-client-library/cpp/apis/analytics/v2.4
The best library I found for tracking analytics with c++ is this unofficial one on github: https://github.com/HSAnet/qt-google-analytics
Note however that it has Qt as a dependency...
If you want to track C++ Android or iOS apps you could use Google's Firebase:
https://firebase.google.com/docs/analytics/cpp/start
Old question, but nowadays more and more developers are starting to use usage analytics for their software.
"SoftMeter", a library I created myself, is my solution to this need.
It has a native C and C++ interface.
https://www.starmessagesoftware.com/softmeter/sdk-api

How to verify XML Digital Signature in native C++ without MSXML 5?

I'm considering using an XML dsig for basic app licensing. The app is native windows code (no .net). I can easily use .net to create a dsig offline, but then I want to verify it in native c++. From what I've found so far MSXML V5 will do the job, but musn't be used and V6 removes support for dsigs.
So how can I easily verify an XML dsig produced by .net code in native C++?
Unfortunately, XML Signatures comes with MSXML 5.0 only. The thing is that XML-DSig isn't actually considered a feature of MSXML. It's best to consider MSXML 5.0 an offshoot - the strange step brother of MSXML - instead of part of the line. They would have been better off naming it something besides MSXML for all the confusion it has caused. There's barely any documentation for it and no way to distribute it. Even the XML Team at Microsoft says "Don't use it".
But all that doesn't help you. The real problem is that XML Digital Signatures are tricky things. MSXML 5.0 only implemented it because MS Office had total control over the XML; and because of that, could get consistent results. There's no guarantee that an XML signature generated from .NET is interoperable with MSXML 5.0. You might even have inconsistent results, where it works sometimes and doesn't work other times.
What you'll need to do is to write managed C++ code where you can use the same .NET features that generated the signature in the first place. It's not native C++, but it will get you consistent results. The only other alternative is to find a library that you can use in both .NET and C++ that can generate a digital signature.
How to: Sign XML Documents with Digital Signatures
How to: Verify the Digital Signatures of XML Documents