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

Re: [XML Schema Datatypes] datatype for strings with language tags

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 10 Oct 2007 14:34:47 +0100
To: Jos de Bruijn <debruijn@inf.unibz.it>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5b7ilv8554.fsf@hildegard.inf.ed.ac.uk>

Hash: SHA1

Jos de Bruijn writes:

> Has the XML schema working group ever considered defining such a
> datatype (i.e. strings with language tags)?

I don't believe so.

> Or would the XML schema working group be interested in developing
> such a datatype?

I suspect not (but I don't speck for the WG).  The guideline the WG
has used (not entirely consistently, consider e.g. the dateTime
datatype) is that XSDL datatypes are for simplexs, and a string to be
understood in a language is probably best understood as a pair.  XML
provides element/attribute markup for representing pairs, and other
things being equal that's what we would recommend.

> Alternatively, do you have a different suggestion for representing
> literals with language tags?

See above -- in my view it's not a property of a literal that it's in a
language, rather utterances have properties including medium
(spoken/written/...), transcription (a string), language(s). . .

I realise this is probably a critique at a level which won't help you
in your current predicament. . .

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Wednesday, 10 October 2007 13:35:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:07 UTC