W3C home > Mailing lists > Public > public-forms@w3.org > May 2008

Makoto Murata on compound document validation by NVDL

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Wed, 7 May 2008 16:41:55 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF404D3BAEF@USA7061MS01.na.xerox.net>
To: "Forms WG (new)" <public-forms@w3.org>
I found this thread on xml-dev an interesting read.  The atom feed
validation seems to capture the problem well.
The summary from Roger Costello doesn't do justice to the paper (PPT,
sorry) referred to in the message, which by the way, takes head-on the
schema modularization problem of adding XForms to host documents.  This
is worth a read for those interested in schema modularity.


Leigh.

attached mail follows:


Hi Folks,

Here are a few snippets from slides by MURATA Makoto:

Requirements on validation#1

- It should be possible to combine schemas representing vocabularies
easily.

- It should be possible to divide non-monolithic documents into pieces
and then validate each piece against one of the schemas.
(divide-and-validate)

Do existing schema languages meet these requirements?

- No, you have to understand all  schemas very well and change them.

- No, you have to validate the entire document against the combination
of all schemas.

   - W3C XML Schema
   - RELAX NG

Requirements on validation#2

- It should be possible to use different schema languages for different
vocabularies.

- Validators for many schema languages should work together.

Do existing schema languages meet these requirements?

- No, you are forced to use one schema language.

- No, you have to use one validator.

   - W3C XML Schema
   - RELAX NG

More... www.asahi-net.or.jp/~eb2m-mrt/svgopen/200409SVGOpen.ppt

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


attached mail follows:


Dear colleagues,

I wrote a note about full validation of Atom feeds containing extensions 
such as OpenSearch and Google Calendar.  Hisashi Miyashita, my
co-author, implemented an NVDL validator for such validaiton.

	Abstract

	The RELAX NG schema in RFC 4287 (The Atom Syndication Format)
	does not provide full validation of Atom feeds containing
	extensions. Rather, this schema skips extension elements and
	attributes, even when extension elements further contain Atom
	feeds or entries. This document shows that ISO/IEC 19757-4
	Namespace-based Validation Dispatching Language (NVDL for short)
	allows full validation of atom feeds containing extensions. NVDL
	decomposes atom feeds containing extensions into (1)
	extension-free atom and (2) extensions so that (1) and (2) are
	validated separately. As an example, an NVDL script for Google
	Calendar is presented. This NVDL script reveals validation
	errors of atom entries embedded in Google Calendar extension
	elements.

This note is available at:

http://www.asahi-net.or.jp/~eb2m-mrt/atomextensions/atomextensions.html

The validator is available at:

http://www.asahi-net.or.jp/~eb2m-mrt/nvdl/SnRNV-1.0.zip


Cheers,

-- 
MURATA Makoto (FAMILY Given) <EB2M-MRT@asahi-net.or.jp>


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Received on Wednesday, 7 May 2008 23:47:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:48 UTC