W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: xhtml2 and www-validator

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Sat, 31 Jul 2004 04:30:54 +0900 (JST)
Message-Id: <20040731.043054.74726443.mimasa@w3.org>
To: veith.risak@tele2.at
Cc: www-validator@w3.org

Veith Risak <veith.risak@tele2.at> wrote:

> I think that www-validator is not yet able to validate xhtml2. Is this true?

That is the case.  Not because the Validator Team is lazy, but because
the HTML Working Group (more specifically me) is too lazy to come up
with a "usable" DTD for XHTML 2.0.  Well, I've said numerous times
that it's impossible, but people don't believe me.  So I have to do
my best to implement DTD and prove that it's unusable.  Oh well.
Hopefully the next draft will include something, usable or not.

Meanwhile, a RELAX NG schema for XHTML 2.0 [1] is more stable, and
you could try RELAX NG validators [2] to validate your XHTML 2.0
documents, such as Jing [3].  nXML-mode for Emacs [4] provides
real-time context-sensitive validation while editing a document,
using RELAX NG Compact Syntax schema.  You may get a ZIP archive
of XHTML 2.0 modules in RELAX NG XML Syntax [5] or Compact Syntax [6],
both correspond to the latest public draft.

When you write a new XHTML 2.0 document, you could start from
a template document [7] I created for my own use, or one of
examples included in the spec.  In order to test schemata,
I extracted all examples from the spec [8].  I've validated
all of them against RELAX NG schema (although sections 19 and 20
still need some tweak), so hopefully those are usable as a basis.
This is not an official work, and XHTML 2.0 is still a Working
Draft, so use it at your own risk.

Comments/bug reports/complaints on XHTML 2.0 schemata should be
sent to www-html-editor@w3.org, not to this list.

[1] http://www.w3.org/TR/2004/WD-xhtml2-20040722/xhtml20_relax.html#a_xhtml20_relaxng
[2] http://relaxng.org/#validators
[3] http://www.thaiopensource.com/relaxng/jing.html
[4] http://www.thaiopensource.com/nxml-mode/
[5] http://www.w3.org/MarkUp/RELAXNG/xhtml2-rng.zip
[6] http://www.w3.org/MarkUp/RELAXNG/xhtml2-rnc.zip
[7] http://www.w3.org/2000/07/8378/xhtml2/spec-examples/template.xhtml
[8] http://www.w3.org/2000/07/8378/xhtml2/spec-examples/

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Friday, 30 July 2004 15:31:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT