Subject: | |
From: | |
Reply To: | |
Date: | Wed, 27 Mar 2013 11:58:38 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'd like to take advantage of some functions available in XSLT 2.0. I read in the MarcEdit Help documentation that Saxon.NET supports XSLT 2.0. So I selected Saxon.NET as the XSLT Engine in preferences and tested it. I get the same errors with the Saxon.NET engine when using a version 1.0 stylesheet and a version 2.0 stylesheet with a 2.0 function in it. The errors occur when using the XML conversions MODS to MARC, MODS to MARCXML, and a custom MODS to MARC stylesheet. I've pasted the error message below. I don't get these errors with the MSXML engine using XSLT 1.0 stylesheets. Does Saxon.NET work for anybody else?
Thanks,
Shelley
s. LineNumber: 682
Line Position: 1
System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceInfo(String resourceName)
at IKVM.NativeCode.java.lang.VMClassLoader.findResourceAssembly(String name)
at java.lang.VMClassLoader.getResource(String )
at java.lang.ClassLoader.getResource(String name)
at java.lang.ClassLoader.getResourceAsStream(String name)
at javax.xml.parsers.SAXParserFactory.getFactoryClassName(ClassLoader , Int32 )
at javax.xml.parsers.SAXParserFactory.newInstance()
at net.sf.saxon.Configuration.loadParser()
at net.sf.saxon.Configuration.getSourceParser()
at net.sf.saxon.event.Sender.send(Source source, Receiver receiver, Boolean isFinal)
at net.sf.saxon.event.Sender.send(Source source, Receiver receiver)
at net.sf.saxon.PreparedStylesheet.loadStylesheetModule(Source styleSource, Configuration config, NamePool localNamePool, StyleNodeFactory nodeFactory)
at net.sf.saxon.PreparedStylesheet.prepare(Source styleSource)
at net.sf.saxon.TransformerFactoryImpl.newTemplates(Source source, CompilerInfo info)
at Saxon.Api.XsltCompiler.Compile(Uri uri)
at mengine60.marcxml.TransformXSLT(String sSource, String sDest, String sXSLT, Boolean bRemote)
--
Shelley Doljack
E-Resources Metadata Librarian
Metadata Department
Stanford University Libraries
[log in to unmask]
650-725-0167
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|
|
|