W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Re: Feedback on candidate recommendation

From: Philip Wadler <wadler@research.bell-labs.com>
Date: Wed, 10 Jan 2001 13:34:04 -0500
Message-Id: <200101101834.NAA54760829@nslocum.cs.bell-labs.com>
To: ht@cogsci.ed.ac.uk (Henry S. Thompson)
cc: www-xml-schema-comments@w3.org
In fact, Volker provided details, which I elided.
Here is the complete entry.  If you need further explanation,
let me know and I'll ask Volker.  -- P

- interaction between equivalence classes and import:
<schema targetNamespace="uri_for_A" xmlns:B="uri_for_B">
  <import targetNamespace="uri_for_B"/>
  <element name="start">
    <complextype>
      <element ref="B:B1"/>
    </complextype>
  </element>

  <element name="A1" equivClass="B:B1">
    ...
  </element >
</schema>

<schema targetNamespace="uri_for_B">
  <element name="B1">
    ...
  </element >
</schema>

document:
<A:start xmlns:A="uri_for_A">
  <A:A1>...</A:A1>
</A:start>
Received on Wednesday, 10 January 2001 13:36:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT