On Thu, 2004-04-08 at 11:49, Rick Jelliffe wrote:
> Yes, it is the job of the Query language Binding to specify in what way
> the asssertion test
> is applied to the subjects. So we don't need the mechanism of your
> alternative, because
> it is taken care of by definition, in the language binding.
>
> In my suggested Part 7's case:
> 1) whitespace is stripped from the @test attribute
> 2) for each text node that is an immediate child of the element,
> or the value of the attribute or PI, or the contents of a comment,
> or the string value of a name {
> for each character in the string, {
> check that it conforms to the pattern.
> }
Does that mean that unlike in Schematron 1.5, a context can select
attributes?
> A way of implementing this is to wrap the stripped value of the @test in
> "[" and "]*" and bingo it becomes a normal regular expression.
>
> What is most important to understand is that we are not using regular
> expressions
> but character classes. We don't test strings, we test each character in
> a string without
> reference to others in the same string.
OK, that makes it clearer.
Thanks,
Eric
--
Did you know it? Python has now a Relax NG (partial) implementation.
http://advogato.org/proj/xvif/
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 Thu Apr 8 11:57:55 2004
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC