Tuesday, 6 January 2009

XQuery implementation for .Net

I've been looking for an XQuery implementation for .Net. It seems Microsoft put an implementation together in the .Net 2 Beta framework, but this never made it into the full version, and has never been seen since. The beta version is still available here, but its license is to restrictive to use in commercial software.

Saxon seems to be the recommended route, but this is written in java, and cross compiled (along with the whole java class library) to .Net compliant byte code. From accounts that I've seen this works fine, but does massively increase the footprint of your application (compiled code is in the region of 25MB), it also adds an element of risk, as you are at the mercy of an open source cross compiler.

As XQuery is an integral part of the XSLT 2.0 standard, not having a standard implementation makes life difficult for developers, hopefully there will be .net implantation available soon…

If anyone has any updates on this please let me know.

1 comment:

  1. XQSharp is a new schema-aware XQuery implementation that has been written entirely in C#. A command line version can be downloaded now for free and a full API should be available in February, which will be free for non-commercial use.

    Oliver Hallam
    www.xqsharp.com

    ReplyDelete