[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Victory has been declared in the schema wars ...

  • From: Jirka Kosek <jirka@k...>
  • To: Henri Sivonen <hsivonen@i...>
  • Date: Wed, 29 Nov 2006 17:52:49 +0100

Re:  Victory has been declared in the schema wars ...
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@k...     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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.