Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Infopath & MSXML 6.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Dixon - 11 Jul 2007 02:28 GMT
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.
Kalyan G Reddy MVP (GGK Tech) - 11 Jul 2007 07:00 GMT
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.
Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> 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
[quoted text clipped - 27 lines]
> Type
> '{Investmentlink:KiwiSaver:Gatekeeper:B2BInterfaces:PaymentToSchemeBatch:v1.0}PaymentIDType' is either not declared or not a simpleType.
Andrew Dixon - 12 Jul 2007 04:00 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.