W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

Re: Modifying imported types, and validating XHTML on XSV

From: Martin Gudgin <marting@develop.com>
Date: Mon, 30 Oct 2000 11:24:22 -0000
Message-ID: <003c01c04263$f513e090$0300a8c0@arbitrary>
To: <xmlschema-dev@w3.org>

----- Original Message -----
From: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
To: "Sean Palmer" <wapdesign@wapdesign.org.uk>
Cc: <xmlschema-dev@w3.org>
Sent: Monday, October 30, 2000 11:00 AM
Subject: Re: Modifying imported types, and validating XHTML on XSV

> "Sean Palmer" <wapdesign@wapdesign.org.uk> writes:
> > Is it possible to constrain or otherwise modify types when importing
them? I
> > ask because this will be needed for an XML Schema version of XHTML.
> Yes, see section 6.2.2 of the PWD [1] regarding the <redefine> facility.
> > Will XSV be able to cope with a modularized version of XHTML recasted
> > XML Schema(?) - i.e.could we use it in its current state to competently
> > validate an XHTML Family.
> I hope so :-)

I can confirm that the redefine support in XSV does work; I've tried some
simple examples. You can find 'base' schema at[1], importing schema at[2]
and instance at[3]. These are just adding an xml:lang attribute to a complex
type but I think they illustrate the principal.


[1] http://marting.develop.com/xsd/lc-215/ex1.xsd
[2] http://marting.develop.com/xsd/lc-215/ex3.xsd
[3] http://marting.develop.com/xsd/lc-215/ex2.xml
Received on Monday, 30 October 2000 06:27:24 UTC

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