CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 14:16:11 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:44:51 GMT
cache-control: max-age=2592000, public
expires: Mon, 10 Nov 2025 14:16:11 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98cef94afe8de084
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: EXPIRED
set-cookie: __cf_bm=64RL.xWUCt3tUKYnnyrDMvXVLZheYdsRSsAzeF9JDH0-1760192171-1.0.1.1-dL6op5t4UWYAeG6oAqtfMoz8RhYVp7O3Y7k.O6ZKJ798gDatbfXqqS2JSNMHiyEAHByCsJu2to3ydM84ilvnfP3leD3fU4grYnnUcLzkZy0; path=/; expires=Sat, 11-Oct-25 14:46:11 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cef94afe8de084-BLR
alt-svc: h3=":443"; ma=86400
Re: Use of xml:lang from Henry S. Thompson on 2000-05-05 (www-xml-schema-comments@w3.org from April to June 2000)
Re: Use of xml:lang
- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 05 May 2000 09:07:59 +0100
- To: Jane Hunter <jane@dstc.edu.au>
- Cc: www-xml-schema-comments@w3.org
- Message-ID: <f5b3dnxzag0.fsf@cogsci.ed.ac.uk>
Jane Hunter <jane@dstc.edu.au> writes: > We're using XML Schema within MPEG-7 to define descriptions of audiovisual > cotent. Certain descriptive elements have a language attribute. For > consistency, we'd like to use the xml:lang attribute. > > Does this need to be declared like any other attribute for the elements to > which it applies? For example: > > <complexType name="FrameAnnotation"> > <element name="Who" type="string" minOccurs="0"/> > <element name="What" type="string" minOccurs="0"/> > .... > <attribute ref="xml:lang"/> > </complexType> > > I assume that we also need to import the xml namespace? > If so, where is this located? There is an example of this in the schema for schemas [1] itself, which also uses xml:lang. Short answer, it's at the XML namespace URI, i.e. https://www.w3.org/XML/1998/namespace ht [1] https://www.w3.org/1999/XMLSchema.xsd -- 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: https://www.ltg.ed.ac.uk/~ht/
Received on Friday, 5 May 2000 04:19:01 UTC