> So I don't believe that the Schematron-based approach is any less
> powerful.
I think that your approach is very powerful.
> Oh, my wording needs to be better. My prososal also allows those.
> Indeed, the first example
> tries to show that this is the intent:
How about local names, PI targets, CDATA sections, and comments? (I'm
just curious.)
> >Third, in the future, I would like to extend RELAX NG so that its <text>
> >and <mixed> can reference to descriptions of character repetoire constraints,
> >which are described in Part 7. Are such applications in the scope of your draft?
> >
> >
> You tell me!
I believe that such applications should be in the scope of Part 7. It should
also be possible to reference character repetoire constraints from an extension
of DTDs.
I have one concern. When we extend RNG by referencing character repetoire constraints,
I do not think implementors should be forced to implement the full set of Schematron.
Which part of your current draft can be separated from Schematron? In other words,
it should be possible to borrow the below mechanisms without implementing Schematron:
- a mechanism for describing constraints such as "\p{IsBasicLatin}\p{IsLatin-1Supplement}
IJij\p{IsGeneralPunctuation}\p{IsCurrencySymbols}",
- a mechanism for naming such constraints and referencing to it from
any part of DSDL (and other schema languages), and
- some INCLUDE mechanism for describing a huge list of characters.
> I think the simplest thing would be to do it independently: just adopt
> the same
> character classes, but figure out whether it applies recursively or not
> as fits in
> with RELAX NG best.
Agreed.
> One way for RELAX NG would be that the first type is handled by
> a non-recursice datatyping mechanism, applying to all immediate content
> but not grandchild content. Then the second type would be handled
> by a recursive test, declared on the grammar itself: a global constraint
> on all (element?) content.
I agree with the general direction. But I am inclined to introduce
an inherited attribute (just like "ns") for referencing to character
repertoire constraints. This allows me to easily create a schema
for multi-lingual documents.
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 Fri Apr 9 02:24:42 2004
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC