This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The info given by validator about error locations should be improved as the errors may not occur in the doc to be validated, they may be elsewhere. For example validate the following XHTML MP 1.2 doc with xmllint (libxml): <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"> <html> <head> <title> Plain Text </title> </head> <body> <p> This is <br/> A simple sample of XHTML MP </p> <div style="text-align:right"> Hello, world </div> </body> </html> $ xmllint --noout --postvalid t.xhtml http://www.openmobilealliance.org/tech/DTD/xhtmlmp12-form-1.mod:18: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x92 0x53 0x20 0x52 OR ITS AFFILIATES REGARDING ANY OF THE IPR�S REPRESENTED ON THE OMA ^ http://www.openmobilealliance.org/tech/DTD/xhtmlmp12-form-1.mod:69: parser warning : PEReference: %form.element; not found <![%form.element;[ ^ [...] $ HEAD http://www.openmobilealliance.org/tech/DTD/xhtmlmp12-form-1.mod 200 OK Date: Tue, 15 Jun 2010 16:37:46 GMT Accept-Ranges: bytes ETag: "4cbc61cb759c71:1f3d" Server: Microsoft-IIS/6.0 Content-Length: 9885 Content-Type: application/octet-stream Last-Modified: Mon, 26 Feb 2007 15:01:52 GMT Client-Date: Tue, 15 Jun 2010 16:37:47 GMT Client-Peer: 195.238.226.77:80 Client-Response-Num: 1 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET
This particular test case does not work at the moment as the OMA DTDs are 404 right now, but here's another: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01+RDFa 1.1//EN" "http://www.w3.org/TR/2010/WD-rdfa-in-html-20100624/DTD/html401-rdfa11-1.dtd"> <html version="HTML+RDFa 1.1" lang="en"> <head> <title>Example Document</title> </head> <body> <p>Moved to <a href="http://example.org/">example.org</a>.</p> </body> </html>
Done now in hg for HTML output. Bug 10076 tracks this for other output types.
Done in 1.1.