W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

Re: Note on DTD-related questions

From: Dan Connolly <connolly@w3.org>
Date: Fri, 16 Jun 2000 14:44:17 -0500
Message-ID: <394A8391.2E25E78D@w3.org>
To: MURATA Makoto <muraw3c@attglobal.net>
CC: w3c-xml-schema-ig@w3.org, Murray Altheim <altheim@eng.sun.com>, www-xml-schema-comments@w3.org
MURATA Makoto wrote:
> Dan,
>  >That seems like a hasty conclusion. I have been working
>  >on the details of various modularization issues
>  >(in http://www.w3.org/XML/2000/04schema-hacking/), and I have
>  >not found any of them to be insurmountable. I am
>  >pretty close to being able to convert the XHTML DTD modules
>  >to schema syntax by machine.
> I had a look at your www site, but have not been able find an example of
> schemata containing more than one vocabulary.  What is the schema for
> your example "xhtml-mathml-ex.html"?

There are two namespaces, and two schema documents:

The schema I intend to use to validate xhtml-mathml-ex.html
is the union of the schema components represented in those
two schema documents.

I ran into a few simple bugs in my schema documents, some of
which exposed XSV bugs/limitations... see:

XSV only finds some schemas? Dan Connolly (Wed, Jun 14 2000)

crash... bug in XSV attributeGroups code? Dan Connolly (Tue, Jun 13

[... no comment on the good question about requirements just now...]

>  >If a langauge designer intends that sort of weak contract,
>  >they can express it using <any/>, no?
> No.  Murray might want to allow a single preface element and allot
> <p> elements only in it.

Restricting the contents of the preface element can be done
by delcaring the preface element appropriately and
and using <any ... processContents="strict/">, I think.

I'm not sure how to express the "only one preface element"
constraint off hand.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
tel:+1-913-491-0501 (office phone as of 27 Apr 2000)
Received on Friday, 16 June 2000 15:44:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:47 UTC