🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problème DTD

#431
From: xmlizer
Date: Tue, 28 Aug 2007 20:18
34 lines
2461 bytes
On 26 août, 11:06, Bernard Koninckx <bernard.konin...@gmail.com>
wrote:
> 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.

Est il possible d'avoir une copie du message d'erreur ?

>
> Voici le texte de cette DTD
>
> <?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>
>
> Merci pour vos avis éclairés et remarques objectives
>
> Bernard


Le seul point pouvant poser problème serait du à la partie
interopérabilité de la spec XML
[[
For interoperability, an XML processor MAY at user option issue a
warning when more than one attribute-list declaration is provided for
a given element type, or more than one attribute definition is
provided for a given attribute, but this is not an error.
]]
Mais cela devrait être un simple warning
Technical Details
Message-ID: <1188332312.746958.99620@k79g2000hse.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!k79g2000hse.googlegroups.com!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!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail
From:  xmlizer <xmlizer@gmail.com>
Newsgroups: fr.comp.text.xml
Subject: Re: Problème DTD
Date: Tue, 28 Aug 2007 20:18:32 -0000
Organization: http://groups.google.com
Lines: 35
Message-ID: <1188332312.746958.99620@k79g2000hse.googlegroups.com>
References: <46d14296$0$13855$ba620e4c@news.skynet.be>
NNTP-Posting-Host: 82.230.92.154
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1188332312 31659 127.0.0.1 (28 Aug 2007 20:18:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 28 Aug 2007 20:18:32 +0000 (UTC)
In-Reply-To: <46d14296$0$13855$ba620e4c@news.skynet.be>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: k79g2000hse.googlegroups.com; posting-host=82.230.92.154;
   posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0