🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #22605

##�� ������дSchema��##

#22605
From: 1111
Date: Fri, 12 Sep 2003 15:32
33 lines
1784 bytes
XMLԴ�ļ�:
<?xml version="1.0" encoding="UTF-8"?>
<ele_A>
    <ele_A>here is text</ele_A>
</ele_A>
 
Ҳ��ʱ˵��ele_A������xsd:string����������Ƕһ��ele_AԪ�صĸ�������.
 
������дxsd�����?
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            elementFormDefault="qualified">
 
    <xsd:element name="ele_A" type="ele_A_type"/>
 
    <xsd:complexType name="ele_A_type">
        <xsd:complexContent>
           <xsd:extension base="xsd:string">
               <xsd:sequence>
                    <xsd:element name="ele_A" type="ele_A_type" 
minOccurs="0"/>
               </xsd:sequence>
           </xsd:extension>
       </xsd:complexContent>
    </xsd:complexType>
 
</xsd:schema>
 
���?
Text not allowed inside element 'ele_A'

--
�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 202.112.142.51]
Technical Details
Message-ID: <48FGb6$9uI@bbs.pku.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,d749feb37f3c661e,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-09-12 08:33:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU
From: warnard@bbs.pku.edu.cn (1111)
Newsgroups: cn.bbs.comp.lang.java
Subject: ##�� ������дSchema��##
Date: 12 Sep 2003 15:32:22 GMT
Organization: ����δ��վ
Message-ID: <48FGb6$9uI@bbs.pku.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1063380726.A
Lines: 33