Infopath & MSXML 6.0

A

Andrew Dixon

A client has provided me with an XSD file. When I try to create a form based
on this XSD I recieve an error. The error seems to be because InfoPath 2007
uses MSXML 5.0 not 6.0.
Is there a way I can upgrade?

Thanks
--==--==--
EVIDENCE
--==--==--
Using XSDValidator from Liquid Technologies allows me to parse the XSD using
various version of the Microsoft XML parser.

Free XSD Validation Tool 1.0.0.0
http://www.liquid-technologies.com/Download.aspx

Here are the results from different versions – you will see that only
version 6 is able to understand the KSGKRPCEnvelope.xsd file.
InfoPath currently only parses to 5.0

Testing Schema using ProgID [MSXML2.XMLSchemaCache.6.0]
Created Object[IXMLDOMSchemaCollection2]
Schema Parsed Successfully

Testing Schema using ProgID [MSXML2.XMLSchemaCache.5.0]
Created Object[IXMLDOMSchemaCollection2]
Failed to parse schema C:\Schema\KSGKRPCEnvelope.xsd
PaymentToSchemeBatch.xsd#/schema/element[1][@name =
'PaymentToScheme']/complexType[1]/sequence[1]/element[1][@name =
'Batch']/complexType[1]/attribute[1][@name = 'PaymentID']
Type
'{Investmentlink:KiwiSaver:Gatekeeper:B2BInterfaces:paymentToSchemeBatch:v1.0}PaymentIDType' is either not declared or not a simpleType.
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

You must have Office InfoPath 2007 installed with VSTA.

Before you can install VSTA, you must have the Microsoft .NET Framework 2.0
and Microsoft Core XML Services (MSXML) 6.0 installed on your computer. The
..NET Framework 2.0 is available as an optional software update on Windows
Update. MSXML6.0 is available for download from the MSDN Web site (see
Microsoft Core XML Services 6.0).

The VSTA development environment is not installed by default when you choose
Typical to install InfoPath. To install VSTA, you must select either
Customize when you are first installing, or use Add or Remove Programs to
update your Office or InfoPath installation to include VSTA. The option to
install VSTA is available by expanding Microsoft Office InfoPath, .NET
Programmability Support, and .NET Programmability Support for .NET Framework
version 2.0.

Hope this helps you.
 
A

Andrew Dixon

Thank you for your reply,

This is a good starting point, however I already had the following installed
* Microsoft .NET Framework 2.0
* Microsoft Core XML Services (MSXML) 6.0
* Infopath 2007
* The VSTA development environment

Note 2 of the following document implies MSMXL 5.0 only is supported.
http://msdn2.microsoft.com/en-us/library/Bb251017.aspx

Note 6 of the following specifically states
"Although the Visual Studio Tools for Applications environment requires
MSXML6 for installation, InfoPath form templates and the InfoPath editor
depend only on MSXML5."
http://msdn2.microsoft.com/En-US/library/aa943357(VS.80).aspx

Any other suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top