[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XalanTransformToFile can't find files? XalanGetLastErr

Subject: XalanTransformToFile can't find files? XalanGetLastError crashes also?
From: "Willemsz, Mervin" <Mervin.Willemsz@xxxxxxxxxxxx>
Date: Mon, 19 Dec 2005 04:25:16 -0700
mervin willemsz
All,

I hope someone can help me out with this one.

The ExecTransFormer routine gets a valid handle. If I want to execute
ExecTransformer the result i is always -2 no matter what path I give as
parameters (file not found). The files are in the right directory, I
tried all posibble dirs to put the files in, no succes.

These functions are working just fine:
XalanInitialize();          <== works OK
CreateXalanTransformer();   <== works OK

Is there a problem with the specific platform for the path?

    CString xml, xsl, out;

    xml = "1.xml";
    xsl = "2.xsl";
    out = "3.html";

    ExecTransForm ExecTransFormer =                   // <== valid
handle
       (ExecTransForm)GetProcAddress(XalanLib, "XalanTransformToFile");

    // Xalan Handle from CreateXalanTransformer is valid
    int i = ExecTransFormer(xml, xsl, out, Xalan);    // <== problem,
returns -2!


    typedef char* (*XalanErr) (void);
    XalanErr XalanGetLastError =
       (XalanErr)GetProcAddress(XalanLib, "XalanGetLastError");
    XalanGetLastError();                              // <== this one
also crashes (0xC0000005)

I really hope someone can help me out.
Thx!

Mervin.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.