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

Re: [Moderator Action] Embedding XML within the 'documentation' e lement of an 'annotation' element.

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Nov 2000 11:18:05 +0000
To: Gino Basso <GBasso@ware2.com>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bpuk23ggi.fsf@cogsci.ed.ac.uk>
Gino Basso <GBasso@ware2.com> writes:

> This seems rather awkward. I looked through the Schema specification to see
> if there was more information on 'quoting' but couldn't find any. Perhaps
> you can point me to a specific reference. It almost seems simpler to treat
> the element as a comment (i.e. surround it with <!-- blah -->)
> -----Original Message-----
> From: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk]
> Sent: Friday, November 03, 2000 11:40 AM
> To: Gino Basso
> 
> The standard way of discussing an element is to quote it:
> 
>                     <documentation>
>                         A null access control list would appear in an XML
>                         instance document as follows:
>                         
>                             <![CDATA[<accessControlList
>  
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>                                 xsi:null="true"
>                             />]]>
>                             
>                         The 'null' attribute is defined as part of the XML
>                         namespace for instances. Typically one would specify
>                         namespaces at the beginning of the instance
> document.
>                     </documentation>
> 
> ht

This is nothing to do with XML Schema:  fundamental properties of XML
1.0 are what's at issue here.

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 Saturday, 11 November 2000 06:18:12 GMT

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