安装BizTalk Server 2006出现BizTalk架构编辑器同类型化DataSet设计器冲突

王朝other·作者佚名  2006-11-04
窄屏简体版  字體: |||超大  

安装BizTalk Server 2006出现BizTalk架构编辑器同类型化DataSet设计器冲突

郑佐 2006-11-1

在安装了BizTalk Server 2006后,Visual Studio 2005中原有类型化数据集设计器被屏蔽,变成了BizTalk Server 2006开发中使用的XML架构编辑器。如下图,

查看xml文档内容发现xs:schema主节点属性发生了改变,

<xs:schema

xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"

xmlns:mstns="http://tempuri.org/DecEntryResultDataSet.xsd"

xmlns:b="http://schemas.microsoft.com/BizTalk/2003"

xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"

attributeFormDefault="qualified"

elementFormDefault="qualified"

targetNamespace="http://tempuri.org/DecEntryResultDataSet.xsd"

id="DecEntryResultDataSet"

xmlns:xs="http://www.w3.org/2001/XMLSchema">

使用文本编辑器打开DecEntryResultDataSet.xsd文件,显示正确内容为,

<xs:schema

xmlns:mstns="http://tempuri.org/DecEntryResultDataSet.xsd"

xmlns="http://tempuri.org/DecEntryResultDataSet.xsd"

xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"

xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"

targetNamespace="http://tempuri.org/DecEntryResultDataSet.xsd"

elementFormDefault="qualified"

attributeFormDefault="qualified"

id="DecEntryResultDataSet">

可见在打开的时候xmlns=http://tempuri.org/DecEntryResultDataSet.xsd属性被替换成了xmlns:b=http://schemas.microsoft.com/BizTalk/2003。但改变后的元素属性不会写入xsd文件。

在Visual Studio 2005中添加xml架构文件(XSD)生成的正常根节点内容为,

<xs:schema

attributeFormDefault="unqualified"

elementFormDefault="qualified"

xmlns:xs="http://www.w3.org/2001/XMLSchema">

在VS2005中打开的时候变成为,

<xs:schema

xmlns:b="http://schemas.microsoft.com/BizTalk/2003"

attributeFormDefault="unqualified"

elementFormDefault="qualified"

xmlns:xs="http://www.w3.org/2001/XMLSchema">

在VS2005中进行添加强类型数据集(XSD)操作,无法显示数据集设计器,被BizTalk 架构编辑代替了。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有  導航