[dsdl-discuss] Re: What is the best way to simulate

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Thu Aug 17 2006 - 13:27:26 UTC

> But does it really mean that if I have three schemas in different
> namespaces, A B and C, and schema A includes both schema B and C, and
> schema B and C happen to have patterns with the same name, that it is an
> error?

Is <externalRef> good enough for your example?

Or, you might want to introduce two <grammar> elements within the
top-level <grammar>. The first sub-<grammar> includes B, while
the second sub-<grammar> includes C.

You mentioned the combine attribute. I have always thought that
the combine attribute is useful only when different define elements
having the same name belong to different schema files. So, I am
very surprised at the ODF RELAX NG schema (a single-file schema
which heavily uses the combine attribute) and your suggestion
about the combine attribute. How do others feel?

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 Thu Aug 17 15:27:27 2006

This archive was generated by hypermail 2.1.8 : Thu Aug 17 2006 - 14:43:02 UTC