- From: Ruadhan O'Donoghue <rodonoghue@mtld.mobi>
- Date: Tue, 29 May 2007 11:11:08 +0100
- To: <public-mobileok-checker@w3.org>
Received on Tuesday, 29 May 2007 10:12:11 UTC
Hi, I'm not sure if anyone has been looking at this, but for validating the original document, we are going to need a local catalog of DTDs. In ready.mobi we use the Xerces CatalogResolver class to map between DOCTYPEs and local copies of the DTDs. Any thoughts on the following? (1) We need to validate the document against its stated DOCTYPE and XHTML Basic 1.1 (and maybe 1.2). So the set of DTDs that we wish to store locally should include XHTML Basic*, MP*, HTML* Are there others? And do we store variations like the Openwave XHTML DTDs which turn up quite a bit? Perhaps we should compile an exhaustive list of the DOCTYPES that we will recognise. (2) The behaviour when a DOCTYPE specifies an obscure DTD not in the catalog - fetching a DTD from the wild is not a good idea, so we should just report an "unrecognised DOCTYPE - will not try to validate" error... Is this the desired behaviour? Ruadhan
Received on Tuesday, 29 May 2007 10:12:11 UTC