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

来源:互联网 发布:java api 1.8官网中文 编辑:程序博客网 时间:2024/05/17 02:04

安装BizTalk Server 2006出现BizTalk架构编辑器同类型化DataSet设计器冲突
  
  在安装了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 架构编辑代替了。


安装BizTalk Server 2006出现BizTalk架构编辑器同类型化DataSet设计器冲突 郑佐 2006-11-1 在安装了BizTalk Server 2006后,Visual Studio 2005中原有类型化数据集设计器被屏蔽,变成了BizTalk Server 2006开发中使用的XML架构编辑器。如下图, [img]http://p.blog.csdn.net/images/p_blog_csdn_net/zhzuo/Biztalk_dataset_error.jpg[/img] 查看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=[url=http://tempuri.org/DecEntryResultDataSet.xsd]http://tempuri.org/DecEntryResultDataSet.xsd[/url]属性被替换成了xmlns:b=[url=http://schemas.microsoft.com/BizTalk/2003]http://schemas.microsoft.com/BizTalk/2003[/url]。但改变后的元素属性不会写入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 架构编辑代替了。
 

原创粉丝点击