🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problème DTD

#430
From: Peyo
Date: Sun, 26 Aug 2007 10:05
25 lines
1893 bytes
Bernard Koninckx a �crit :
> J'utilise Eclipse Europa. Il contient un validateur DTD et XML. J'ai une 
>  DTD que je pense n'�tre pas fausse mais sur lequel Eclipse me signale 
> une erreur sur la derni�re ligne. D�butant en XML, je souhaite avoir 
> l'avis de professionnels du XML.
> 
> Voici le texte de cette DTD
> 

Ceci est un prologue de document XML :

> <?xml version="1.0" encoding="UTF-8"?>

> <!ELEMENT menu (submenu+)>
> <!ELEMENT submenu (className?|submenu*)>
> <!ELEMENT className (#PCDATA)>
> <!ATTLIST menu menuName CDATA #REQUIRED>
> <!ATTLIST menu bundle CDATA #IMPLIED>
> <!ATTLIST submenu name CDATA #REQUIRED>

Es-tu s�r que ton validateur ne cherche pas � valider un document et non 
  une DTD ? Si tel est le cas, ton document �tant mal-form� (pas 
d'�l�ment racine), une erreur n'est pas �tonnante...

p.
Technical Details
Message-ID: <46d15070$0$398$426a74cc@news.free.fr>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!nocworld.net!gandi!gandi.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp14-2.free.fr!not-for-mail
References: <46d14296$0$13855$ba620e4c@news.skynet.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,b42059349b08dcba
X-Google-Attributes: gid114f60,public,usenet
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!nocworld.net!gandi!gandi.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp14-2.free.fr!not-for-mail
Date: Sun, 26 Aug 2007 12:05:36 +0200
From: Peyo <ou.c@est.ca>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: fr.comp.text.xml
Subject: Re: Problème DTD
References: <46d14296$0$13855$ba620e4c@news.skynet.be>
In-Reply-To: <46d14296$0$13855$ba620e4c@news.skynet.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 25
Message-ID: <46d15070$0$398$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 26 Aug 2007 12:05:36 MEST
NNTP-Posting-Host: 82.236.174.106
X-Trace: 1188122736 news-2.free.fr 398 82.236.174.106:2069
X-Complaints-To: abuse@proxad.net