Exporting as XML from Access 2002 produces WC3 2000-compatible schema (307422)
The information in this article applies to:
- Microsoft Access 2002
- Microsoft Visual Studio .NET (2002), Professional Edition
This article was previously published under Q307422 SYMPTOMSIf you open a schema that is produced by
using Access, you receive the following error message
in the Visual Studio .NET designer: The XML Designer
encountered the following error while reading this file:
Document
Element tag xsd:schema must identify the XSD schema namespace. Do this by
adding an attribute xmlns="http://www.w3.org/2001/XMLSchema" to the Document
Element tag
Please return to source view and correct these
errors.
CAUSE The Access schema identifies an earlier draft of the XSD
namespace as follows:
http://www.w3.org/2000/10/XMLSchema
However,
Visual Studio .NET supports the most recent draft,
which is as follows: http://www.w3.org/2001/XMLSchema RESOLUTION To work around this issue, replace the following line:
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:od="urn:schemas-microsoft-com:officedata"> with the following line instead:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:od="urn:schemas-microsoft-com:officedata"> STATUS This
behavior is by design.REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
295215
Presentation is not applied to XML exported with embedded schema
291133 Supported data sources for importing, for exporting, and for linking in an Access 2002 database project
For additional information on the WC3 schema
specifications, see:
Modification Type: | Minor | Last Reviewed: | 3/7/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbIDEProject kbprb KB307422 kbAudDeveloper |
---|
|