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

📄 mvnforum_1_0_rc2.xsd

📁 解觖java技术中后台无法上传数给的情况
💻 XSD
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!--
 - $Revision: 1.2 $
 - $Date: 2006/04/15 04:49:05 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2006 by MyVietnam.net
 -
 - All copyright notices regarding mvnForum MUST remain 
 - intact in the scripts and in the outputted HTML.
 - The "powered by" text/logo with a link back to
 - http://www.mvnForum.com and http://www.MyVietnam.net in 
 - the footer of the pages MUST remain visible when the pages
 - are viewed on the internet or intranet.
 -
 - This program is free software; you can redistribute it and/or modify
 - it under the terms of the GNU General Public License as published by
 - the Free Software Foundation; either version 2 of the License, or
 - any later version.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 -
 - Support can be obtained from support forums at:
 - http://www.mvnForum.com/mvnforum/index
 -
 - Correspondence and Marketing Questions can be sent to:
 - info at MyVietnam net
 -->
<!--
  
    =====================================================================
    ===                 MVN Forum XML DTD definition                  ===
    ===                                                               ===
    ===    Made by Igor Manic, mailto:imanic@users.sourceforge.net    ===
    ===                                                               ===
    ===                   Donated to General Public                   ===
    ===                                                               ===
    ===                                                               ===
    === this file can be obtained at:                                 ===
    ===              http://www.mvnforum.com/dtd/mvnforum_1_0_rc2.dtd ===
    =====================================================================
  
  
  Used formats:
   timestamp: use one of the following formats:
                yyyy/MM/dd HH:mm:ss.nn
                yyyy-MM-dd HH:mm:ss.nn
                yyyyMMddHHmmssnn
                EEE MMM dd HH:mm:ss z yyyy  (e.g.: "Fri Jan 16 18:48:25 CEST 2002")
              In first three formats, last "nn" are hundreths and are optional
              example: 2001/01/17 19:17:33
              exception: MemberBirthday is not complete timestamp, it's only the date part (e.g. yyyy/MM/DD)
   boolean: use values: 0, 1, true, false, yes, no
  
  some info on mvnForum database:
  - all ID fields in the database are auto_increment, and might not be exported to XML
    (that is, they are optional), except for the AttachmentID, since it is important
    because of attachment file name on the server
  - MemberGroup allows (GroupID,MemberID)=(0,0) - that record should be ignored
  - MemberForum allows (MemberID,ForumID)=(0,0) - that record should be ignored
  - GroupForum allows (GroupID,ForumID)=(0,0) - that record should be ignored
  - Watch allows (MemberID,CategoryID,ForumID,ThreadID)=(0,0,0,0) - that record should be ignored
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  <xs:element name="mvnforum">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="MemberList"/>
        <xs:element minOccurs="0" ref="GroupList"/>
        <xs:element minOccurs="0" ref="CategoryList"/>
        <xs:element minOccurs="0" ref="RankList"/>
      </xs:sequence>
      <xs:attributeGroup ref="attlist.mvnforum"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attlist.mvnforum">
    <xs:attribute name="version" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="1.0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="exportDate" use="required"/>
  </xs:attributeGroup>
  <!-- ================================================= -->
  <!-- ==== MEMBERS, permissions and message folders === -->
  <!-- ================================================= -->
  <xs:element name="MemberList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="Member"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Member">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="MemberName"/>
        <xs:element ref="MemberPassword"/>
        <xs:element ref="MemberFirstEmail"/>
        <xs:element ref="MemberEmail"/>
        <xs:element minOccurs="0" ref="MemberEmailVisible"/>
        <xs:element minOccurs="0" ref="MemberNameVisible"/>
        <xs:element minOccurs="0" ref="MemberFirstIP"/>
        <xs:element minOccurs="0" ref="MemberLastIP"/>
        <xs:element minOccurs="0" ref="MemberViewCount"/>
        <xs:element minOccurs="0" ref="MemberPostCount"/>
        <xs:element minOccurs="0" ref="MemberCreationDate"/>
        <xs:element minOccurs="0" ref="MemberModifiedDate"/>
        <xs:element minOccurs="0" ref="MemberLastLogon"/>
        <xs:element minOccurs="0" ref="MemberOption"/>
        <xs:element minOccurs="0" ref="MemberStatus"/>
        <xs:element minOccurs="0" ref="MemberActivateCode"/>
        <xs:element minOccurs="0" ref="MemberTempPassword"/>
        <xs:element minOccurs="0" ref="MemberMessageCount"/>
        <xs:element minOccurs="0" ref="MemberMessageOption"/>
        <xs:element minOccurs="0" ref="MemberPostsPerPage"/>
        <xs:element minOccurs="0" ref="MemberWarnCount"/>
        <xs:element minOccurs="0" ref="MemberVoteCount"/>
        <xs:element minOccurs="0" ref="MemberVoteTotalStars"/>
        <xs:element minOccurs="0" ref="MemberRewardPoints"/>
        <xs:element ref="MemberTitle"/>
        <xs:element minOccurs="0" ref="MemberTimeZone"/>
        <xs:element minOccurs="0" ref="MemberSignature"/>
        <xs:element minOccurs="0" ref="MemberAvatar"/>
        <xs:element minOccurs="0" ref="MemberSkin"/>
        <xs:element minOccurs="0" ref="MemberLanguage"/>
        <xs:element ref="MemberFirstname"/>
        <xs:element ref="MemberLastname"/>
        <xs:element minOccurs="0" ref="MemberGender"/>
        <xs:element minOccurs="0" ref="MemberBirthday"/>
        <xs:element minOccurs="0" ref="MemberAddress"/>
        <xs:element minOccurs="0" ref="MemberCity"/>
        <xs:element minOccurs="0" ref="MemberState"/>
        <xs:element minOccurs="0" ref="MemberCountry"/>
        <xs:element minOccurs="0" ref="MemberPhone"/>
        <xs:element minOccurs="0" ref="MemberMobile"/>
        <xs:element minOccurs="0" ref="MemberFax"/>
        <xs:element minOccurs="0" ref="MemberCareer"/>
        <xs:element minOccurs="0" ref="MemberHomepage"/>
        <xs:element minOccurs="0" ref="MemberYahoo"/>
        <xs:element minOccurs="0" ref="MemberAol"/>
        <xs:element minOccurs="0" ref="MemberIcq"/>
        <xs:element minOccurs="0" ref="MemberMsn"/>
        <xs:element minOccurs="0" ref="MemberCoolLink1"/>
        <xs:element minOccurs="0" ref="MemberCoolLink2"/>
        <xs:element minOccurs="0" ref="GlobalPermissionList"/>
        <xs:element minOccurs="0" ref="MessageFolderList"/>
        <xs:element minOccurs="0" ref="GlobalWatchList"/>
      </xs:sequence>
      <xs:attributeGroup ref="attlist.Member"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attlist.Member">
    <xs:attribute name="class">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="Guest"/>
          <xs:enumeration value="Admin"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="MessageFolderList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="MessageFolder"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!-- MessageFolder.MemberID is not here -->
  <xs:element name="MessageFolder">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="FolderName"/>
        <xs:element minOccurs="0" ref="FolderOrder"/>
        <xs:element minOccurs="0" ref="FolderCreationDate"/>
        <xs:element minOccurs="0" ref="FolderModifiedDate"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GlobalWatchList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="GlobalWatch"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!-- ================================================= -->
  <!-- ============== GROUPS (of members) ============== -->
  <!-- ================================================= -->
  <xs:element name="GroupList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="Group"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!-- Group.GroupOwnerID is not here -->
  <xs:element name="Group">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="GroupOwnerName"/>
        <xs:element ref="GroupName"/>
        <xs:element minOccurs="0" ref="GroupDesc"/>
        <xs:element minOccurs="0" ref="GroupOption"/>
        <xs:element minOccurs="0" ref="GroupCreationDate"/>
        <xs:element minOccurs="0" ref="GroupModifiedDate"/>
        <xs:element minOccurs="0" ref="GlobalPermissionList"/>
        <xs:element minOccurs="0" ref="GroupMemberList"/>
      </xs:sequence>
      <xs:attributeGroup ref="attlist.Group"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attlist.Group">
    <xs:attribute name="class">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="RegisteredMembers"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="GroupMemberList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="GroupMember"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!-- GroupMember.GroupID and GroupMember.MemberID are not here -->
  <xs:element name="GroupMember">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="MemberName"/>
        <xs:element minOccurs="0" ref="Privilege"/>
        <xs:element minOccurs="0" ref="CreationDate"/>
        <xs:element minOccurs="0" ref="ModifiedDate"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <!-- ================================================= -->
  <!-- ============== GLOBAL PERMISSIONS =============== -->
  <!-- ================================================= -->
  <xs:element name="GlobalPermissionList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="GlobalPermission"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GlobalPermission" type="xs:string"/>
  <!-- ================================================= -->
  <!-- ================== CATEGORIES =================== -->
  <!-- ================================================= -->
  <xs:element name="CategoryList">

⌨️ 快捷键说明

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