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

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 UTC