<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">  既然命名空间只是标识唯一性的  那为什么我改掉http://www.w3.org/2001/XMLSchema这个后 就不能运行了

解决方案 »

  1.   

    你访问一下 http://www.w3.org/2001/XMLSchema 就知道了xsd:string 等基本类型都在 http://www.w3.org/2001/XMLSchema这个空间中定义的例如:http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd 这里使用了
    xsd:stirng xsd:annonation 等基本类型可以去developerworks 上看看 schema 的介绍,我记得几年前有个英文的ppt,不知道被翻译过来了没有