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

Re: assigning schema to appInfo elements

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Mar 2001 16:33:55 +0000
To: Matt Brown <matt@avolent.com>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5belwctbt8.fsf@cogsci.ed.ac.uk>
Matt Brown <matt@avolent.com> writes:

> + specifying appInfo like this:
> 
>     <appInfo xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
>              xsi:noTargetNamspace="appInfoSchema.xsd">
>         <className>org.foo.bar.MyClass</className>
>         <mapping method="FirstName" element="firstName" type="boolean"/>
>     </appInfo>

This is an entirely reasonable approach, and works with XSV [1].

ht

[1] http://www.w3.org/2000/09/webdata/xsv
-- 
  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 Monday, 5 March 2001 11:34:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT