[dsdl-discuss] Re: Draft of Part 7 Character Repertoire Valdiation

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Wed Apr 07 2004 - 11:39:49 UTC

Hi Rick,

On Wed, 2004-04-07 at 10:56, Rick Jelliffe wrote:
> Please find attached a complete XML draft of Part 7 Character Repertoire
> Validation.
>
> It is a kind of Schematron, except that assertions tests expect
> "Character Class" as used in XML Schemas, Perl, Java, etc.

Very clever, this sounds like a neat idea.

I am confused about the way to apply this to mixed content models,
though.

In that case (mixed content models), how would you read "The assertion
test is interpreted according to production 13 of XML Schemas Datatypes"
knowing that XML Schemas Datatypes only applies to attribute and simple
contents?

The only instance of the word "mixed" in your proposal is in the use
case "ensuring that a Dutch document contains characters only used in
typical Dutch documents; the constraint applies to mixed content and
element content;" and I think that the spec should clearly show how that
can be done.

In fact, I think that it's the semantic of test="pattern" when the
context node isn't a simple type element that should be clarified.

The other point is to know if we're happy to rely on XPath 1.0 (which
among other things isn't streamable) to qualify the binding between
nodes and character repertoires.

My 0.02 Euros

Eric

-- 
Lisez-moi sur XMLfr.
                       http://xmlfr.org/index/person/eric+van+der+vlist/
Upcoming XML schema languages tutorial:
 - Amsterdam   -half day- (18/04/2004)        http://masl.to/?P220516D7
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Wed Apr 7 13:39:51 2004

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC