新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> XML编辑器,XML解析器,XML开发环境
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 XML工具及XML开发环境 』 → XMLSpy v2007.3 版本下,为何正确的XML代码总是报警 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 5526 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: XMLSpy v2007.3 版本下,为何正确的XML代码总是报警 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     bjss1 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:12
      积分:96
      门派:XML.ORG.CN
      注册:2007/5/2

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给bjss1发送一个短消息 把bjss1加入好友 查看bjss1的个人资料 搜索bjss1在『 XML工具及XML开发环境 』的所有贴子 引用回复这个贴子 回复这个贴子 查看bjss1的博客楼主
    发贴心情 XMLSpy v2007.3 版本下,为何正确的XML代码总是报警

    各位大侠:
        为何正确的XML代码,竟然在注册过的"Altova XMLSpy Enterprise v2007.3"或“Altova XMLSpy Enterprise v2007.1”版本下,老是出现错误报警提示。我的系统是WindowsXP sp2,2天过去没有解决问题。以下是在“EditPlus 2”环境下通过的程序代码:
      
    code7_6.HTM

    <HTML>
    <HEAD><Title>HTML中的数据岛中的记录集</Title></HEAD>
    <body>
    <XML ID="xmldata" SRC="code7_6.xml"></XML>
    <center><b><font size="3">HTML中的XML数据岛记录编辑与添加</font></b></center>
    <HR>
      书名:<input type=text datasrc="#xmldata" DataFLD="title" size="53"><BR>
      类别:<input type=text datasrc="#xmldata" DataFLD="bookcategory" size="22">&nbsp;&nbsp;&nbsp;&nbsp;书号:<input type=text datasrc="#xmldata" DataFLD="ISBN" size="18"><BR>
      作者:<input type=text datasrc="#xmldata" DataFLD="author" size="53"><BR>
     出版社:<input type=text datasrc="#xmldata" DataFLD="publisher" size="53"><BR>
      定价:<input type=text datasrc="#xmldata" DataFLD="price" size="15"><span lang="zh-cn">元&nbsp;
    </span>&nbsp;&nbsp;&nbsp;&nbsp;
    剩余数量:<input type=text datasrc="#xmldata" DataFLD="remain" size="15">
    <HR>
    <input id="first" type="button" value="<<第一条" onclick="xmldata.recordset.moveFirst">
    <input id="prev" type="button" value="<上一条" onclick="xmldata.recordset.movePrevious">
    <input id="next" type="button" value="下一条>" onclick="xmldata.recordset.moveNext">
    <input id="last"type="button" value="最后一条>>" onclick="xmldata.recordset.moveLast">
    <input id="Add" type="button" value="添加新" onclick="xmldata.recordset.addNew">  
    </body>  
    </HTML>


    code7_6.xml

    <?xml version="1.0" encoding="gb2312"?>
     <books>
      <book id="0001" bookcategory="文艺" amount="150" remain="80" discount="8.5">
          <title>三国演义</title>
          <author>罗贯中</author>
          <publisher>文艺出版社</publisher>
       <ISBN>0-764-58007-8</ISBN>
             <price>80</price>
      </book>
      <book id="0002" bookcategory="文艺" amount="300" remain="180" discount="8.7">
          <title>红楼梦</title>
          <author>曹雪芹</author>
          <publisher>三秦出版社</publisher>
       <ISBN>7805468397</ISBN>
             <price>22</price>
      </book>
      <book id="0003" bookcategory="文艺" amount="200" remain="175" discount="8.5">
          <title>西游记(上下册)</title>
          <author>吴承恩</author>
          <publisher>人民文学出版社</publisher>
       <ISBN>7020008739</ISBN>
             <price>40.12</price>
      </book>
      <book id="0004" bookcategory="文艺" amount="300" remain="192" discount="8.7">
          <title>水浒传(上下册)</title>
          <author>吴承恩</author>
          <publisher>时代文艺出版社</publisher>
       <ISBN>7538714014</ISBN>
             <price>40.85</price>
      </book>
      <book id="0065" bookcategory="文学" amount="120" remain="86" discount="8.0">
          <title>外国文学史(亚非卷)</title>
          <author>朱维之</author>
          <publisher>南开大学出版社</publisher>
       <ISBN>7-310-01122-8</ISBN>
             <price>20</price>
      </book>
      <book id="0076" bookcategory="文学" amount="130" remain="84" discount="8.0">
          <title>二十世纪欧美文学简史</title>
          <author>李明滨</author>
          <publisher>北京大学出版社</publisher>
       <ISBN>7-301-04616-2</ISBN>
             <price>21.8</price>
      </book>
      <book id="0098" bookcategory="文学" amount="140" remain="76" discount="7.0">
          <title>西方文艺理论名著教程(上)</title>
          <author>胡经之</author>
          <publisher>北京大学出版社</publisher>
       <ISBN>7-301-00649-7</ISBN>
             <price>24</price>
      </book>
      <book id="0012" bookcategory="文学" amount="210" remain="60" discount="8.5">
          <title>西方文艺理论名著教程(下)</title>
          <author>胡经之</author>
          <publisher>北京大学出版社</publisher>
       <ISBN>7-301-00179-7</ISBN>
             <price>23</price>
      </book>
      <book id="0036" bookcategory="文学" amount="100" remain="80" discount="8.3">
          <title>中国文学理论批评史教程</title>
          <author>张少康</author>
          <publisher>北京大学出版社</publisher>
       <ISBN>7-301-04091-1</ISBN>
             <price>25</price>
      </book>
      <book id="0018" bookcategory="计算机" amount="200" remain="100" discount="8.2">
       <title>计算机导论</title>
       <author>丁跃潮等</author>
       <publisher>高等教育出版社</publisher>
       <ISBN>7-04-014768-8</ISBN>
       <price>19.7</price>
      </book>
      <book id="0218" bookcategory="计算机" amount="400" remain="300" discount="8.5">
       <title>程序设计基础</title>
       <author>张杰敏主编</author>
       <publisher>高等教育出版社</publisher>
       <ISBN>7-04-012652-4</ISBN>
       <price>17.6</price>
      </book>
      <book id="0318" bookcategory="计算机" amount="100" remain="60" discount="8.0">
       <title>数据结构与算法</title>
       <author>王晓东编</author>
       <publisher>高等教育出版社</publisher>
       <ISBN>7-04-013204-4</ISBN>
       <price>21.8</price>
      </book>
      <book id="0181" bookcategory="计算机" amount="250" remain="156" discount="8.0">
       <title>XML Web Service开发</title>
       <author>微软公司著</author>
       <publisher>高等教育出版社</publisher>
       <ISBN>7-04-015825-6</ISBN>
       <price>65.00</price>
      </book>
      <book id="0189" bookcategory="计算机" amount="230" remain="160" discount="8.0">
       <title>VB.NET程序设计语言</title>
       <author>微软公司著</author>
       <publisher>高等教育出版社</publisher>
       <ISBN>7-04-013188-9</ISBN>
       <price>86.00</price>
      </book>
      <book id="0028" bookcategory="计算机" amount="100" remain="90" discount="7.5">
       <title>JavaScript速成教程</title>
       <author>Michael Moncur著</author>
       <publisher>机械工业出版社</publisher>
       <ISBN>7-111-09070-5</ISBN>
       <price>28.00</price>
      </book>
      <book id="0074" bookcategory="计算机" amount="130" remain="78" discount="7.8">
       <title>软件工程Java语言实现</title>
       <author>Stephen R.Schach</author>
       <publisher>机械工业出版社</publisher>
       <ISBN>7-111-06714-2</ISBN>
       <price>51.00</price>
      </book>
      <book id="0109" bookcategory="计算机" amount="210" remain="160" discount="8.0">
       <title>人工智能</title>
       <author>Nils J. Nilsson</author>
       <publisher>机械工业出版社</publisher>
       <ISBN>7-111-04738-6</ISBN>
       <price>45.00</price>
      </book>
      <book id="0305" bookcategory="计算机" amount="115" remain="26" discount="7.5">
       <title>ASP开发实例</title>
       <author>清汉计算机工作室</author>
       <publisher>机械工业出版社</publisher>
       <ISBN>7-980039-74-2</ISBN>
       <price>53.00</price>
      </book>
     </books>


    问题是:

    1. XMLSpy2007 环境要进行特别设置吗?
    2. XMLSpy2007 版本有问题?

    说明:以上程序代码在另一台电脑上相同的版本下可以通过。


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/11/7 16:43:00
     
     bjss1 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:12
      积分:96
      门派:XML.ORG.CN
      注册:2007/5/2

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给bjss1发送一个短消息 把bjss1加入好友 查看bjss1的个人资料 搜索bjss1在『 XML工具及XML开发环境 』的所有贴子 引用回复这个贴子 回复这个贴子 查看bjss1的博客2
    发贴心情 
    原因找见,问题已解决。
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/11/13 14:48:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML工具及XML开发环境 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/4/28 3:50:27

    本主题贴数2,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    78.125ms