W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

Re: XSV Crash on XHTML Schema

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 09 Feb 2001 13:35:20 +0000
To: Rick Jelliffe <ricko@gate.sinica.edu.tw>
Cc: Eddie Robertsson <eddie@allette.com.au>, xmlschema-dev@w3.org
Message-ID: <f5by9vg5693.fsf@cogsci.ed.ac.uk>
Rick Jelliffe <ricko@gate.sinica.edu.tw> writes:

> On Fri, 9 Feb 2001, Eddie Robertsson wrote:
> > Rick Jelliffe wrote:
> > 
> > > The current CR does not allow direct fixing of attribute values of
> > > attributes from foreign namespaces. At the moment, the easiest workaround
> > > seems to be to simply redefine them with fixed values.  There may be some
> > > more information on this in the next few days.
> > 
> > How does this work?
> Sorry, checked again and it probably doesn't.  That means the only current
> workaround I know about would seem to be to define a schema for the
> foreign namespace yourself, with one complex type per every attribute
> group of restrictions. These complex types restrict the values from the
> real declarations for the attributes.  So you cannot attach a fixed
> attribute in a foreign namespace to an existing comlpex type, you have to
> make up a new complex type.

Fortunately the WG voted yesterday to add a facility for 'fixing' the
value of an imported attribute, but you'll have to wait for the next
Public WD to use it.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Friday, 9 February 2001 08:35:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC