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

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Tue Apr 13 2004 - 12:44:04 UTC

> I have been thinking of putting some text in to allow <sch:assert>
> statements in other vocabularies, such as RELAX NG. The the rules
> for supplying the strings to be tested would
> be provided by the host language. E.g. imagine a document with
>
> <sch:assert xmlns:sch="http://www.ascc.net/xml/schematron"
> id="dutch" test=
> "\p{IsBasicLatin}\p{IsLatin-1Supplement}
> &#x132;&#x133;\p{IsGeneralPunctuation}\p{IsCurrencySymbols}">
> The text should only contain typical Dutch characters </sch:assert>

Do you allow a *single* chunk of text only?
James and I agreed to allow multiple <message xml:lang="..">..</message>
in a single action of NVDL.

> Then this could be included in Schematron schemas by an
> <sch:include> at the appropriate spot.
>
> And <relaxng:include> could also do the same thing.

Yes, we can introduce some new keyword for this in the future.

> That seems a little like a hack, in that I don't think it is very
> general: for a start, language of a document should usually be
> unrelated to the usual schema of a document: whether a document
> must be Japanese should be a parallel constraint in a parallel schema
> rather than requiring a customized "derived" schema.

I think that both approaches are useful. Some schemas are designed as
multi-linual schemas from the beginning. For example, quite a few
Japanese journals require English titles and abstracts as well Japanese ones.

> On the other hand, it is possible that

Probably, you agree with me.

> Why not just use Part 7?

Because I do not want to force implementors to support the full set of XPath.

Cheers,

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>
--
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 Tue Apr 13 14:48:27 2004

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