Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #16297
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: lxml precaching DTD for document verification. |
| Date | 2011-11-27 21:33 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <jauabo$sbr$1@reader1.panix.com> (permalink) |
| References | <mailman.3078.1322420265.27778.python-list@python.org> <roy-6F0FD0.15291227112011@news.panix.com> |
In <roy-6F0FD0.15291227112011@news.panix.com> Roy Smith <roy@panix.com> writes:
> In article <mailman.3078.1322420265.27778.python-list@python.org>,
> Gelonida N <gelonida@gmail.com> wrote:
>
> > I'd like to verify some (x)html / / html5 / xml documents from a server.
> I'm sure you could roll your own validator with lxml and some DTDs, but
> you would probably save yourself a huge amount of effort by just using
> the validator the W3C provides (http://validator.w3.org/).
With regards to XML, he may mean that he wants to validate that the
document conforms to a specific format, not just that it is generally
valid XML. I don't think the w3 validator will do that.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
lxml precaching DTD for document verification. Gelonida N <gelonida@gmail.com> - 2011-11-27 19:57 +0100
Re: lxml precaching DTD for document verification. Roy Smith <roy@panix.com> - 2011-11-27 15:29 -0500
Re: lxml precaching DTD for document verification. John Gordon <gordon@panix.com> - 2011-11-27 21:33 +0000
Re: lxml precaching DTD for document verification. Gelonida N <gelonida@gmail.com> - 2011-11-28 01:32 +0100
csiph-web