XSL operations and MSXML library migration

Subject

MSXML library migration

Applies to

Visual Basic Upgrade Companion Enterprise Edition, Visual Basic Upgrade Companion Developer Edition

Inquiry Description

VBUC migrates MSXML classes to .Net native xml classes. How does it upgrade XSL related operations? Can the VBUC also re-format XSL files to avoid problems?

Troubleshooting/solution

The VBUC does not format or change XSL files associated with code.

However, from past experiences we can confirm that it is sometimes necessary to perform changes in XSL documents when using .NET’s System.Xml namespace in a migration. Changes were only necessary in a fraction of the XSL files and in no instance did all XSL files require changes.

In one project, which relied heavily on XSL documents, only 10% of the more than 180 different XSL files required changes. Most of these changes were minor or involved changing an XPath query. Most changes related to problems encountered by .NET XML parser when applying a transformation and could be checked with tools such as XMLSpy or OxygenXML configured to use .NET’s parser.

When comparing the output between .NET and VB6 most differences involved whitespace and other formatting concerns. One particular case to watch out for is the serialization of dates in .NET versus VB6.

Detecting most of these issues prior to migration proves difficult. This is because VB6 is quite fault tolerant and will keep processing an XSL even if errors or inconsistencies are detected. The .NET framework is not as forgiving and will throw an exception if an error or fault is detected. Therefore, verifying XSL files with an external tool can help detect possible problems.

Submitted date

7/5/2010 6:07:58 PM


Related FAQs

None

Skip Navigation Links.
Expand ArtinSoft Visual Basic Upgrade Companion (VBUC)ArtinSoft Visual Basic Upgrade Companion (VBUC)
Expand VBUC Getting StartedVBUC Getting Started
Collapse Migration Knowledge BaseMigration Knowledge Base
Expand VBUC Errors, Warnings and IssuesVBUC Errors, Warnings and Issues
Collapse VBUC Frequently Asked QuestionsVBUC Frequently Asked Questions
Collapse General QuestionsGeneral Questions
Error 2869 during the VBUC installation
How effective is the Visual Basic Upgrade Companion at converting an application's front end?
Expand What controls does the Visual Basic Upgrade Companion support?What controls does the Visual Basic Upgrade Companion support?
Can the Visual Basic Upgrade Companion be customized?
How does the VBUC handle VB6 Collections?
How does the VBUC convert ADO to ADO.NET?
Visual Basic Upgrade Companion customization options
FAQ: What is the process to upgrade from VB5 to .Net?
ActiveX/User documents migration workaround using the VBUC
Property Page migration workaround using the VBUC
How to install the VBUC Developer Edition successfully
Is the Artinsoft.VB6.dll helper class library redistributable?
What are the code changes and other activities required before migration?
XSL operations and MSXML library migration
VBUC generated Visual Studio solution file version
Where is the source code for the support (helper) classes used by the VBUC?
How effective is the Visual Basic Upgrade Companion at converting an application's front end?
VBUC Developer Edition Offline Activation Process
What’s the difference between the License File and the Activation File
Do the VBUC migrate intrinsic VB6 functions and libraries?
Error : Retrieving the COM class factory for component with CLSID {11C67C12-105A-4F42-A5C8-CB9070F2855A} failed due to the following error: 80040154
Expand HOW TOHOW TO