Hello Alexandra,
I forwarded your message to the error report mailing list
(
[email protected]) linked from [1]. Although a lot of person in
our team speaks french you might want translate it for those who don't.
Anyway I'll let the editors of the document follow up with you.
Cordialement,
Matthieu
[1] http://www.w3.org/TR/xhtml-modularization/
--
Matthieu Fuzellier http://www.w3.org/People/Matthieu/
W3C Webmaster MIT/CSAIL http://www.w3.org/
Voice: +1.617.258.8143 Fax: +1.617.258.5999
--- Begin Message ---
[I you don't read French, please tell me and I will translate this e-mail]
Bonjour Monsieur Matthieu,
J'espère que vous êtes la bonne personne ; j'ai simplement vu sur les fichiers
concernés (xhtml11.xsd, xhtml-attribs-1.xsd,
xhtml-events-1.xsd) que vous avez été le dernier à les modifier.
J'écris actuellement un petit validateur aspirateur multi-schéma en C#.NET 2.0
qui aura certainement vocation à être Open
Source, Weblide
[http://alexandre.alapetite.net/distribution/weblide/index.en.html], que je
vous invite d'ailleurs à essayer.
Pour XHTML 1.1, j'utilise le schéma XML disponible sur
[http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml11.xsd]. Ces
schémas ont récemment été mis à jour (13 février 2006). J'ai néanmoins du
apporter deux modifications aux schémas pour que cela
fonctionne (avec Microsoft .NET 2.0), et je penche pour une erreur dans le
schéma :
- [http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-attribs-1.xsd]
Lignes 48-52, les attributs pour les événements (onclick, ...) ne sont pas
référencés (ils sont déclarés dans
[http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml-events-1.xsd]). J'ai
ajouté en conséquence une ligne 52:
<xs:attributeGroup ref="xhtml.Events.attrib"/>
Sans cela, des erreurs "L'attribut 'onclick' n'est pas déclaré" ou similaires
sont lancées.
- J'ai aussi corrigé des chemins incorrects dans les schémas MathML
[http://www.w3.org/TR/xhtml-modularization/SCHEMA/examples/xhtml-mathml.xsd] et
[http://www.w3.org/TR/xhtml-modularization/SCHEMA/examples/mathml-model-1.xsd].
Pour information maintenant, car il s'agit cette fois plutôt d'un bogue côté
Microsoft
[http://lists.w3.org/Archives/Public/xmlschema-dev/2004Jun/0065.html] :
- [http://www.w3.org/TR/xhtml-modularization/SCHEMA/xhtml11.xsd]
Pour aider le moteur XML Schema de Microsoft .NET 2.0, j'ai ajouté la ligne 98:
<xs:import
namespace="http://www.w3.org/1999/xhtml/datatypes/"
schemaLocation="xhtml-datatypes-1.xsd" />
Je ne vois pas d'inconvénient à ajouter cette déclaration.
Veuillez trouver en pièces jointes mes propositions de corrections.
Bien cordialement,
Alexandre Alapetite
http://alexandre.alapetite.net
xhtml11.xsd
Description: Binary data
xhtml-attribs-1.xsd
Description: Binary data
mathml-model-1.xsd
Description: Binary data
xhtml-mathml.xsd
Description: Binary data
--- End Message ---