[Rpm-metadata] dtd and validation
Daniel Veillard
veillard at redhat.com
Sun Jan 16 21:49:11 UTC 2005
On Sun, Jan 16, 2005 at 09:56:10PM +0100, Féliciano Matias wrote:
> You mean that the w3c should update the dtd of html to feet with the
> "state of the art" of IE ?
> Internet Explorer is a recommendation of the w3c ?
if IE was released by the W3C this might make sense. Your comparison
doesn't hold.
> The dtd should have a version and the xml files should indicate the dtd
> used (or it try to conform).
versionning might be useful, but it's not critical.
> > That should not be too hard, sounds even a good exercise in improving
> > your XML knowledge
>
> Why not.
> But with which one :
> - DTD
It's a DTD, fix the DTD, it's not that hard really.
> > (and next one is to write a Relax-NG schemas for it [1]) ;-)
>
> Why Relax-NG ?
Because it's simple and there is an easy tutorial that even a beginner
can follow c.f. the reference I gave !
> XSD seems fine
you're the first one to say so. Obviously you're a newbie. Next assignment
is to read it and juge your statement again:
http://www.w3.org/TR/xmlschema-1/
part 2 about datatype ain't too bad though
http://www.w3.org/TR/xmlschema-2/
> and it's a recommendation of w3c.
its main virtue.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the Rpm-metadata
mailing list