Project

Profile

Help

Bug #4253

closed

IKVM.NET throws java.lang.NoClassDefFoundError: 'com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl'

Added by Jiri Dolejsi about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
-
Start date:
2019-07-15
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

.NET Framework 4.7, Saxon EE 9.9.1.4 When calling parse-xml-fragment:

` class Program { static Processor processor = new Processor(true);

    static string xslt = 
        @"<xsl:transform version='3.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>" +
        @" <xsl:template name='xsl:initial-template' > " +
        @"  <xsl:variable name='doc'>to je test</xsl:variable>" +
        @"  <xsl:sequence select='parse-xml-fragment($doc)'/>" +
        @" </xsl:template>" +
        @"</xsl:transform>";

    static void Main(string[] args)
    {
        XsltCompiler xsltCompiler = processor.NewXsltCompiler();
        xsltCompiler.XsltLanguageVersion = "3.0";
        XsltExecutable exec = xsltCompiler.Compile(new StringReader(xslt));
        Xslt30Transformer transf = exec.Load30();
        Serializer ser = processor.NewSerializer();
        StringWriter sw = new StringWriter();
        ser.SetOutputWriter(sw);
        transf.CallTemplate(null, ser);
        Console.WriteLine(sw.ToString());
     }

}`

Please register to edit this issue

Also available in: Atom PDF