以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 DTD/XML Schema 』  (http://bbs.xml.org.cn/list.asp?boardid=23)
----  a sequenc of more than one item is not allowed as the fisrt argument of contains()  (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=75843)


--  作者:julysdu
--  发布时间:7/2/2009 3:41:00 PM

--  a sequenc of more than one item is not allowed as the fisrt argument of contains()
a sequenc of more than one item is not allowed as the fisrt argument of contains()

报这个错误是什么原因啊?


--  作者:julysdu
--  发布时间:7/2/2009 3:54:00 PM

--  a sequenc of more than one item is not allowed as the fisrt argument of contains() 错误

a sequenc of more than one item is not allowed as the fisrt argument of contains()

报这个错误是什么原因啊?

问题就出现在这一句话上

<pointcut name="varName" type="src:name" constraint="(text()='counter') and ((contains(following-sibling::text(),'=') and not(contains(following-sibling::text(),'==')))or(contains(following-sibling::text(),'++'))) ">
 </pointcut>


--  作者:julysdu
--  发布时间:7/2/2009 5:12:00 PM

--  
以下是引用julysdu在2009-7-2 15:54:00的发言:
a sequenc of more than one item is not allowed as the fisrt argument of contains()

  报这个错误是什么原因啊?

问题就出现在这一句话上

<pointcut name="varName" type="src:name" constraint="(text()='counter') and ((contains(following-sibling::text(),'=') and not(contains(following-sibling::text(),'==')))or(contains(following-sibling::text(),'++'))) ">
  </pointcut>


问题已解决
因为 (text()='counter'
这个参数有多个


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
48.828ms