🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #111

Re: [newbie] Validation XSD/XML

#111
From: Mickaël Wolff
Date: Sat, 10 Oct 2009 14:56
26 lines
2069 bytes
apolloj wrote:
> En fait,
> services-test apparait 2 fois. C'est un fichier non modifiable (utilis� 
> ailleurs aussi et qui est � *priori* valid�)
   Il n'apparait pas deux fois. Ce sont deux concepts diff�rents. Tu 
devrais lire les sp�cifications du W3C.

> Comment le parser fait la diff�rence ?
> 
> 
>  <xsd:element name="services-test" type="xsd:string"/>

   Le probl�me est l�. La XSD est fausse. La d�claration de l'�l�ment 
devrait etre :

   <xsd:element name="services-test" type="services-test"/>


>         <!-- definition du noeud racine 'services-test' -->
   Ceci n'est pas la d�finition du noeud racine. C'est la d�finition du 
type � complexe � qui doit etre utiliser dans la d�claration de l'�l�ment.
>         <xsd:complexType name="services-test">

-- 
Micka�l Wolff aka Lupus Michaelis
http://lupusmic.org
Technical Details
Message-ID: <4ad0a22e$0$15197$426a74cc@news.free.fr>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp6-2.free.fr!not-for-mail
References: <4acfbdd9$0$31424$426a34cc@news.free.fr> <4acfc485$0$9354$426a74cc@news.free.fr> <4ad05541$0$307$426a74cc@news.free.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: 8a75585569,af86fdbf92d5fc75
X-Google-Attributes: gid8a75585569,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp6-2.free.fr!not-for-mail
Date: Sat, 10 Oct 2009 16:56:10 +0200
From: Mickaël Wolff <mickael.wolff@laposte.net>
Reply-To: mickael.wolff@laposte.net
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
MIME-Version: 1.0
Newsgroups: fr.comp.text.xml
Subject: Re: [newbie] Validation XSD/XML
References: <4acfbdd9$0$31424$426a34cc@news.free.fr> <4acfc485$0$9354$426a74cc@news.free.fr> <4ad05541$0$307$426a74cc@news.free.fr>
In-Reply-To: <4ad05541$0$307$426a74cc@news.free.fr>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 26
Message-ID: <4ad0a22e$0$15197$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 10 Oct 2009 17:03:11 MEST
NNTP-Posting-Host: 78.233.168.158
X-Trace: 1255186991 news-2.free.fr 15197 78.233.168.158:51212
X-Complaints-To: abuse@proxad.net