XML Schema 中 dateTime 类型的解释

dateTime 类型的形式为:’-’? yyyy ‘-’ mm ‘-’ dd ‘T’ hh ‘:’ mm ‘:’ ss (‘.’ s+)? (zzzzzz)?,其中: ‘-’? yyyy 是一个4位或者更多位数的可使用负号的数字,表示年份;如果多于4位数字,则打头数字不能是0, ’0000′ 也是禁止的;同样需要注意的是+号也不允许使用; 剩下的 ‘-’ 是时间中各部分的分隔符; 第一个 mm 是一个2位数字,表示月份; dd 是一个2位数字,表示日期; ‘T’ 是一个分隔符,指明后面是日期中的时间; hh 是一个2位数字,表示小时;如果分钟和秒是 0,那么使用 ’24′ 是允许的, 这个如此表示的 dateTime 值马上转为下一天的值(the dateTime value so represented is the first instant of the following day); ‘:’ 是一个时间中各部分的分隔符; 第二个 mm [...]

By javafuns on August 18, 2008 at 16:05 · Views: 706 · Permalink · RSS · Leave a comment
Categorized in: SOA · Tagged with: 

What’s New in WSDL 2.0

原文:http://www.xml.com/pub/a/ws/2004/05/19/wsdl2.html?page=1 by Arulazi Dhesiaseelan May 20, 2004 // < ![CDATA[ var CN_AD = new Object(); CN_AD.AD_SZ = "300wx250h"; CN_AD.PTYPE = "publisher"; cnetGetAd(CN_AD); // ]]> W3C 的 Web Services Description Working Group, Web Services Activity 的一个子组织, 已经为描述 web service 定义了一种语言, 也定义了与他们交互的可能方式. The WG 于 26 March 2004 发布了 WSDL 2.0 工作草稿. 这是 WSDL 进化史上的一个重要里程碑. 本文中, 我讨论了相对于 [...]

By javafuns on July 29, 2008 at 22:28 · Views: 2,196 · Permalink · RSS · Leave a comment
Categorized in: SOA · Tagged with: , , ,

XML Schema 中 import 和 include 的区别

XML Schema 允许将一个XSD文件分为几个文件存放,在必要时使用 import 或者 include 进行导入。这二者的区别是: import:只能导入不同命名空间的XSD include:只能导入相同命名空间的XSD,或被导入的XSD未声明命名空间 例子: <xsd:import namespace=”http://acme.com/supplier/types” schemaLocation=”http://acme.com/supplier/types.xsd”/> <xsd:include schemaLocation=”http://acme.com/supplier/types.xsd”/>

By javafuns on July 22, 2008 at 13:24 · Views: 1,635 · Permalink · RSS · 3 Comments
Categorized in: SOA · Tagged with: 
  • Highest Rated

  • My PicasaPhotos

    IMG_0531.JPG

    955dcaee7dc2a13a2df5349e.jpg

    IMG_0673.JPG

  • RSS My del.icio.us

  • My RSS