EJB3的XML Schema第一讲
在XML Schema 中的注释规定了XML Schema 机制不方便表达的语法和语义的要求。 XML 元素的内容通常都是大小写敏感的(也就是说,除非另有说明)。意思是,例如,必须使用Container而不是container 所有有效的ejb-jar 部署描述必须遵循下面的XML Schema 定义,或本规范以前版本的DTD 定义。
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://java.sun.com/xml/ns/javaee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0"> xsd:annotation xsd:documentation @(#)ejb-jar_3_0.xsds1.51 02/23/06 </xsd:documentation> </xsd:annotation> xsd:annotation xsd:documentation Copyright 2003-2006 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, California 95054 U.S.A All rights reserved. Sun Microsystems, Inc. has intellectual property right srelating to technology described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and other countries. This document and the technology which it describes are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, JavaServer Pages, Enterprise JavaBeans and the Java Coffee Cup logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. </xsd:documentation> </xsd:annotation> xsd:annotation xsd:documentation