[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Victory has been declared in the schema wars ...
- From: Jirka Kosek <jirka@kosek.cz>
- To: Henri Sivonen <hsivonen@iki.fi>
- Date: Wed, 29 Nov 2006 17:52:49 +0100
Henri Sivonen wrote:
> I think not having a normative schema for HTML5 is a very good idea.
I don't think so.
> None of the current schema languages (not even Schematron) are adequate
> for expressing all the conformance requirements of HTML5. Experience has
> shown that people become too schema-focused if there is a normative
> schema: DTDs aren't adequate for expressing the conformance requirements
> of HTML 4.01, but still people behave as though they had checked for
> conformance when they have validated against a DTD.
I think that problem is in education here -- it is not a big deal to
show and explain difference between valid and conformant document.
> Still, HTML5 can be counted as a bullet point in favor of the RELAX NG
> camp. The only schema for HTML5 in the works is a RELAX NG (Compact
> Syntax) schema with companion Schematron assertions (
> http://syntax.whattf.org/ ). A conformance checker for HTML5 requires
> non-schema checking code to fill the gaps that RELAX NG and Schematron
> can't fill (conveniently or at all). For example,
> http://hsivonen.iki.fi/validator/html5/ checks for table cell overlap in
> Java code--not in RNG, XSD or Schematron.
Even with custom Java validation code you can't get 100% coverage. Many
requirements in HTML specification are too soft and have to be
interpreted by humans.
> A lot of people use XSD for data binding. RNG doesn't do data binding
> *by design*, so telling those people to use RNG for data binding doesn't
> seem to help.
RNG can do databinding and there are many tools that implement this. And
if you want do databinding you probably do not have ambiguous schemas.
On its latest meeting, RELAX NG Technical Committee was discussing
whether RELAX NG 1.0 should be improved and developed in future
(http://lists.oasis-open.org/archives/relax-ng/200611/msg00022.html). If
you think that RNG should have better support for data-binding you can
submit this request to TC.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Nejbližší termíny školení:
** XML pro vývojáře 19.-22.3.2007 ** XML schémata 16.-18.4.2007 **
** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
OpenPGP digital signature
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]