⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlschema

📁 JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors,
💻
📖 第 1 页 / 共 5 页
字号:
<?xml version='1.0' encoding='UTF-8'?><!-- XML Schema schema for XML Schemas: Part 1: Structures --><!-- Note this schema is NOT the normative structures schema. --><!-- The prose copy in the structures REC is the normative --><!-- version (which shouldn't differ from this one except for --><!-- this comment and entity expansions, but just in case --><!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200010//EN" "XMLSchema.dtd" [<!--     keep this schema XML1.0 DTD valid  --><!ATTLIST element xmlns:x CDATA #IMPLIED><!-- provide ID type information even for parsers which only read the     internal subset --><!ATTLIST schema          id  ID  #IMPLIED><!ATTLIST complexType     id  ID  #IMPLIED><!ATTLIST complexContent  id  ID  #IMPLIED><!ATTLIST simpleContent   id  ID  #IMPLIED><!ATTLIST extension       id  ID  #IMPLIED><!ATTLIST element         id  ID  #IMPLIED><!ATTLIST group           id  ID  #IMPLIED> <!ATTLIST all             id  ID  #IMPLIED><!ATTLIST choice          id  ID  #IMPLIED><!ATTLIST sequence        id  ID  #IMPLIED><!ATTLIST any             id  ID  #IMPLIED><!ATTLIST anyAttribute    id  ID  #IMPLIED><!ATTLIST attribute       id  ID  #IMPLIED><!ATTLIST attributeGroup  id  ID  #IMPLIED><!ATTLIST unique          id  ID  #IMPLIED><!ATTLIST key             id  ID  #IMPLIED><!ATTLIST keyref          id  ID  #IMPLIED><!ATTLIST selector        id  ID  #IMPLIED><!ATTLIST field           id  ID  #IMPLIED><!ATTLIST include         id  ID  #IMPLIED><!ATTLIST import          id  ID  #IMPLIED><!ATTLIST redefine        id  ID  #IMPLIED><!ATTLIST notation        id  ID  #IMPLIED><!--     keep this schema XML1.0 DTD valid  -->        <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>        <!ELEMENT hfp:hasFacet EMPTY>        <!ATTLIST hfp:hasFacet                name NMTOKEN #REQUIRED>                        <!ELEMENT hfp:hasProperty EMPTY>        <!ATTLIST hfp:hasProperty                name NMTOKEN #REQUIRED                value CDATA #REQUIRED><!--        Make sure that processors that do not read the external subset        will know about the various IDs we declare  -->        <!ATTLIST simpleType id ID #IMPLIED>        <!ATTLIST maxExclusive id ID #IMPLIED>        <!ATTLIST minExclusive id ID #IMPLIED>        <!ATTLIST maxInclusive id ID #IMPLIED>        <!ATTLIST minInclusive id ID #IMPLIED>        <!ATTLIST precision id ID #IMPLIED>        <!ATTLIST scale id ID #IMPLIED>        <!ATTLIST length id ID #IMPLIED>        <!ATTLIST minLength id ID #IMPLIED>        <!ATTLIST maxLength id ID #IMPLIED>        <!ATTLIST enumeration id ID #IMPLIED>        <!ATTLIST pattern id ID #IMPLIED>        <!ATTLIST encoding id ID #IMPLIED>        <!ATTLIST period id ID #IMPLIED>        <!ATTLIST duration id ID #IMPLIED>        <!ATTLIST appinfo id ID #IMPLIED>        <!ATTLIST documentation id ID #IMPLIED>        <!ATTLIST list id ID #IMPLIED>        <!ATTLIST union id ID #IMPLIED>        ]><schema targetNamespace="http://www.w3.org/2000/10/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns="http://www.w3.org/2000/10/XMLSchema" xmlns:hfp="http://www.w3.org/2000/10/XMLSchema-hasFacetAndProperty"> <annotation>  <documentation>    Part 1 version: $Id: XMLSchema,v 1.1 2001/11/16 06:19:40 mdoar Exp $    Part 2 version: $Id: XMLSchema,v 1.1 2001/11/16 06:19:40 mdoar Exp $  </documentation> </annotation> <annotation>   <documentation xml:lang="en" source="http://www.w3.org/TR/2000/WD-xmlschema-1-20000922/structures.html.html">   The schema corresponding to this document is normative,   with respect to the syntactic constraints it expresses in the   XML Schema language.  The documentation (within &lt;documentation> elements)   below, is not normative, but rather highlights important aspects of   the W3C Recommendation of which this is a part</documentation> </annotation> <annotation>   <documentation xml:lang="en">   The simpleType element and all of its members are defined      towards the end of this schema document</documentation> </annotation> <import namespace="http://www.w3.org/XML/1998/namespace"         schemaLocation="http://www.w3.org/2000/10/xml.xsd">   <annotation>     <documentation xml:lang="en">       Get access to the xml: attribute groups for xml:lang       as declared on 'documentation' below     </documentation>   </annotation> </import> <complexType name="openAttrs">   <annotation>     <documentation xml:lang="en">       This type is extended by almost all schema types       to allow attributes from other namespaces to be       added to user schemas.     </documentation>   </annotation>   <complexContent>     <restriction base="anyType">       <anyAttribute namespace="##other" processContents="lax"/>     </restriction>   </complexContent> </complexType> <complexType name="annotated">   <annotation>     <documentation xml:lang="en">       This type is extended by all types which allow annotation       other than &lt;schema&gt; itself     </documentation>   </annotation>   <complexContent>     <extension base="openAttrs">       <sequence>         <element ref="annotation" minOccurs="0"/>       </sequence>       <attribute name="id" type="ID"/>     </extension>   </complexContent> </complexType> <element name="schemaTop" abstract="true" type="annotated">  <annotation>   <documentation xml:lang="en">   This abstract element defines an substitution group over the   elements which occur freely at the top level of schemas.  These are:   simpleType, complexType, element, attribute, attributeGroup, group, notation   All of their types are based on the "annotated" type by extension.</documentation>  </annotation> </element>  <element name="redefinable" abstract="true" substitutionGroup="schemaTop">  <annotation>   <documentation xml:lang="en">   This abstract element defines a substitution group for the   elements which can self-redefine (see &lt;redefine> below).</documentation>  </annotation> </element> <simpleType name="formChoice">  <annotation>   <documentation xml:lang="en">   A utility type, not for public use</documentation>  </annotation>  <restriction base="NMTOKEN">   <enumeration value="qualified"/>   <enumeration value="unqualified"/>  </restriction> </simpleType> <element name="schema" id="schema">  <annotation>    <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>  </annotation>  <complexType>   <complexContent>    <extension base="openAttrs">     <sequence>      <choice minOccurs="0" maxOccurs="unbounded">       <element ref="include"/>       <element ref="import"/>       <element ref="redefine"/>       <element ref="annotation"/>      </choice>      <sequence minOccurs="0" maxOccurs="unbounded">       <element ref="schemaTop"/>       <element ref="annotation" minOccurs="0" maxOccurs="unbounded"/>      </sequence>     </sequence>     <attribute name="targetNamespace" type="uriReference"/>     <attribute name="version" type="token"/>     <attribute name="finalDefault" type="derivationSet" use="default" value=""/>     <attribute name="blockDefault" type="blockSet" use="default" value=""/>     <attribute name="attributeFormDefault" type="formChoice" use="default" value="unqualified"/>     <attribute name="elementFormDefault" type="formChoice" use="default" value="unqualified"/>     <attribute name="id" type="ID"/>    </extension>   </complexContent>  </complexType>  <key name="element">   <selector xpath="element"/>   <field xpath="@name"/>  </key>  <key name="attribute">   <selector xpath="attribute"/>   <field xpath="@name"/>  </key>  <key name="type">   <selector xpath="complexType|simpleType"/>   <field xpath="@name"/>  </key>   <key name="group">   <selector xpath="group"/>   <field xpath="@name"/>  </key>   <key name="attributeGroup">   <selector xpath="attributeGroup"/>   <field xpath="@name"/>  </key>   <key name="notation">   <selector xpath="notation"/>   <field xpath="@name"/>  </key>  <key name="identityConstraint">   <selector xpath=".//key|.//unique|.//keyref"/>   <field xpath="@name"/>  </key> </element> <simpleType name="allNNI">  <annotation><documentation xml:lang="en">   for maxOccurs</documentation></annotation>  <union memberTypes="nonNegativeInteger">   <simpleType>    <restriction base="NMTOKEN">     <enumeration value="unbounded"/>    </restriction>   </simpleType>  </union> </simpleType> <attributeGroup name="occurs">  <annotation><documentation xml:lang="en">   for all particles</documentation></annotation>  <attribute name="minOccurs" type="nonNegativeInteger" use="default" value="1"/>  <attribute name="maxOccurs" type="allNNI" use="default" value="1"/> </attributeGroup> <attributeGroup name="defRef">  <annotation><documentation xml:lang="en">   for element, group and attributeGroup,   which both define and reference</documentation></annotation>  <attribute name="name" type="NCName"/>  <attribute name="ref" type="QName"/> </attributeGroup> <group name="typeDefParticle">  <annotation>    <documentation xml:lang="en">   'complexType' uses this</documentation></annotation>  <choice>   <element name="group" type="groupRef"/>   <element ref="all"/>   <element ref="choice"/>   <element ref="sequence"/>  </choice> </group>  <group name="groupDefParticle">  <annotation>    <documentation xml:lang="en">   'topLevelGroup' uses this</documentation></annotation>  <choice>   <element ref="all"/>   <element ref="choice"/>   <element ref="sequence"/>  </choice> </group> <group name="nestedParticle">  <choice>   <element name="element" type="localElement"/>   <element name="group" type="groupRef"/>   <element ref="choice"/>   <element ref="sequence"/>   <element ref="any"/>  </choice> </group>  <group name="particle">  <choice>   <element name="element" type="localElement"/>   <element name="group" type="groupRef"/>   <element ref="all"/>   <element ref="choice"/>   <element ref="sequence"/>   <element ref="any"/>  </choice> </group>  <complexType name="attribute">  <complexContent>   <extension base="annotated">    <sequence>     <element name="simpleType" minOccurs="0" type="localSimpleType"/>    </sequence>    <attributeGroup ref="defRef"/>    <attribute name="type" type="QName"/>    <attribute name="use" use="default" value="optional">     <simpleType>      <restriction base="NMTOKEN">       <enumeration value="prohibited"/>       <enumeration value="optional"/>       <enumeration value="required"/>       <enumeration value="default"/>       <enumeration value="fixed"/>      </restriction>     </simpleType>    </attribute>    <attribute name="value" use="optional" type="string"/>    <attribute name="form" type="formChoice"/>   </extension>  </complexContent> </complexType>  <complexType name="topLevelAttribute">  <complexContent>   <restriction base="attribute">    <sequence>     <element ref="annotation" minOccurs="0"/>     <element name="simpleType" minOccurs="0" type="localSimpleType"/>    </sequence>    <attribute name="ref" use="prohibited"/>    <attribute name="form" use="prohibited"/>    <attribute name="use" use="prohibited"/>    <attribute name="name" use="required" type="NCName"/>   </restriction>  </complexContent> </complexType> <group name="attrDecls">  <sequence>   <choice minOccurs="0" maxOccurs="unbounded">    <element name="attribute" type="attribute"/>    <element name="attributeGroup" type="attributeGroupRef"/>   </choice>   <element ref="anyAttribute" minOccurs="0"/>  </sequence> </group> <element name="anyAttribute" type="wildcard" id="anyAttribute">  <annotation>   <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>  </annotation> </element> <group name="complexTypeModel">  <choice>      <element ref="simpleContent"/>      <element ref="complexContent"/>      <sequence>       <annotation>        <documentation xml:lang="en">   This branch is short for   &lt;complexContent>   &lt;restriction base="anyType">   ...   &lt;/restriction>   &lt;/complexContent></documentation>       </annotation>       <group ref="typeDefParticle" minOccurs="0"/>       <group ref="attrDecls"/>      </sequence>  </choice> </group> <complexType name="complexType" abstract="true">  <complexContent>   <extension base="annotated">    <group ref="complexTypeModel"/>    <attribute name="name" type="NCName">     <annotation>      <documentation xml:lang="en">      Will be restricted to required or forbidden</documentation>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -