Re: dtd and validation

Daniel Veillard <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
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/
[email protected]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.