XSLT 2.0 Support coming soon to MarcEdit 5.0

By reeset / On / In MarcEdit

So I’ve just about finished making the changes to MarcEdit 5.0 to include Saxon’s .NET component into the application.  This will allow users the ability to support XSLT 1.0, 2.0, XPath, Xquery, etc.  By default, the application will continue to utilize the customized version of the System.XML classes provided by default in .NET since they are a bit faster than the Saxon implementation when dealing with 1.0 documents — but users will have the option to change this setting which might be the way to go depending on your XML.  The System.XML component is fairly strict and doesn’t support non-numeric character entities (i.e., &copy isn’t supported) while the Saxon component does. 

Anyway, the setting will be found in the properties box — so it will show up like:

properties.PNG

I’ve also been updating a number of the XSLT files provided with MarcEdit, with the biggest updates to the Dublin Core translations (both OAI harvester and straight DC translation).  And with XSLT 2.0 support added to MarcEdit, I’ll likely provide LC’s FRBR code with MarcEdit shortly as well.

Lastly, I’ll be changing the MarcEdit license shortly.  I’d like to make it easier for people to use and develop with the program so I’m looking at something like an MIT-like license.  Anyway, I’m thinking of using something like:

Redistribution and use in binary forms are permitted provided that the following conditions are met: 

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 

  • Neither the name of TERRY REESE nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 Anyway, I want to do a bit more testing to make sure that the COM changes, XSLT changes, etc. all work and then I’ll post.

–TR