TD5.1 Problem(s) with Microsoft Microsoft XML, v4.0.apl

forum.gupta.bugreport (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

TD5.1 Problem(s) with Microsoft Microsoft XML, v4.0.apl

Post by NewsgroupServer » 31 Jan 2008, 09:08

 Posted by:  Philip Hautekiet 

I'm trying to convert our .apl files from Centura 1.51 PTF5 to TD5.1

A/ I'm facing big problems with the XML classes from Microsoft XML, v4.0.apl
Several times i get this error on the first parameter of the function
XMLDocument.apendChild
=> Function argument doesn't match declared data type
The XMLProcessing object is an invalid parameter for this function

!!CB!! 134
Function: XMLCreateDocument
Description:
Returns
Parameters
FunctionalVar: XMLDocument
Class: MSXML2_DOMDocument
FunctionalVar: XMLProcessing
Class: MSXML2_IXMLDOMProcessingInstruct
Static Variables
Local variables
FunctionalVar: gcDummyNode
Class: MSXML2_IXMLDOMNode
Actions
Call XMLDocument.Init( )
Call XMLDocument.createProcessingInstruction( 'xml', 'version="1.0"',
XMLProcessing )
Call XMLDocument.appendChild( XMLProcessing, gcDummyNode )

B/ I try to regenerate the .apl with the AxtiveX Explorer of CTD5.1 This
results in a CTD crash.
How can i get the Microsoft XML .apl for CTD5.1?

Thanks in advance.

Attachment: ActiveXExplorer.jpg
Attachment: err.Txt

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

TD5.1 Problem(s) with Microsoft Microsoft XML, v4.0.apl

Post by NewsgroupServer » 31 Jan 2008, 18:13

 Posted by:  Jeff Luther 

Here again, if you had submitted a test of what you had it would be
easier to check out your code by others.

"How can i get the Microsoft XML .apl for CTD5.1?" - I assume you mean
v5. I have all the XML vers. from 2-5 in my AXLibs dir, all dated
10/7/2007. Must have been put there when I first installed v5.1. I'll
add a zip of v5 + Automtion.

"XMLDocument.appendChild" - XMLCreateDocument() must be your own
function, since I don't see that in MSXML v4 - all the classes are
MSXML2 and under MSXML2_IXMLDOMDocument2 there is:
Function: appendChild
Parameters
MSXML2_IXMLDOMNode: newChild
MSXML2_IXMLDOMNode: returnValue

and you have below:
Call XMLDocument.appendChild( XMLProcessing, gcDummyNode )

where XMLProcessing is a MSXML2_IXMLDOMProcessingInstruct; don't know
what gcDummyNode is. Thus, the types are different and you will need to
'slog' through and do a redeclare and some rewrite of your code.

Your move from v1.5 --> 5.1 is a giant leap, esp. with XML and its
changes since v1.5. One thing you might consider is using an earlier
version of MSXML. I added an attachment for 2 (not converted to text as
the first zip file is - if you need another ver, let me know), all with
the same date/time stamps. Perhaps v2.0 (it still declares
MSXML_DOMDocument) might be an easier platform for converting(?)
depending on what you are using and need.

You also don't say what the CTD v1.5 version of the XML apl is. I have
only MSXML v2.0 in my CTD15 dir; you may have used something else.

Best Regards,
Jeff @ PC Design
info. & samples: www.JeffLuther.net/unify/

Attachment: UTDv51-MSXMLv5.0.zip
Attachment: Microsoft XML, version 2.0.zip

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

TD5.1 Problem(s) with Microsoft Microsoft XML, v4.0.apl

Post by NewsgroupServer » 01 Feb 2008, 14:58

 Posted by:  Philip Hautekiet 

I also considerd regenerating a new XML .apl, but why does our centura
builder fails to generate a new .apl?

Attachment: ActiveXExplorer.jpg

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

TD5.1 Problem(s) with Microsoft Microsoft XML, v4.0.apl

Post by NewsgroupServer » 01 Feb 2008, 18:09

 Posted by:  Jeff Luther 

I don't know. That's something you should report in the bugreport
section on Unify's own forum:
http://support.unify.com/supportforum/

In fact (as far as I can tell), ALL UTD v5.1 issues should be posted on
that forum. I feel certain that Unify people are not visiting here.

- Jeff

Return to “gupta.bugreport”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests