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

Re: Implementation Experience: Notation is NOT a DERIVED type of QName

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 03 Nov 2000 18:06:12 +0000
To: <asirv@webmethods.com>
Cc: "www-xml-schema-comments@w3. org" <www-xml-schema-comments@w3.org>, "Ningang chen" <nchen@webmethods.com>, "w3c-xml-schema-ig" <w3c-xml-schema-ig@w3.org>
Message-ID: <f5b7l6lexrf.fsf@cogsci.ed.ac.uk>
Sorry, I don't agree.  We went through this at the f2f, and agreed
that _our_ Notations should be named with QNames.  There is no
connection between them and XML 1.0 Notations.  What specifically do
you see as the problem with, e.g.

... xmlns:po="http://www.example.com/foo" ...

<simpleType name="myNot">
 <restriction base='NOTATION'>
  <enumeration value="po:type"/>
  <enumeration value="po:code"/>
 </restriction>
</simpleType>

<element name="test">
 <complexType>
  <attribute name="foo" type="myNot"/>
 </complexType>
</element>

and an instance

... xmlns:po="http://www.example.com/foo" ...
<test foo="po:code">...</test>

ht
-- 
  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, 3 November 2000 13:06:17 GMT

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