attribute types again

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I guess we need something somewhere which says what we _mean_ by the
types we use in the syntax tableaux, other than QName (which is
covered already).  The Relax-NG syntax uses the following (which
appear in the tableaux with the 'xsd:' stripped off):

xsd:ID
xsd:NCName
xsd:NMTOKENS
xsd:QName
xsd:anyURI
xsd:boolean
xsd:integer

and also the following

PrefixList
XPathExpression
XSLTMatchPattern

I suggest we should add something along the following lines to 3.9:

 The types given for attributes should be understood as follows:

   * ID, NCName, NMTOKENS, anyURI, boolean, integer
     As per [XML Schema 1.0 Part 2, Datatypes], including whitespace
     normalization as appropriate.
   * QName
     Whitespace normalization as per [XML Schema 1.0 Part 2,
     Datatypes], see below for further conditions.
   * PrefixList
     As a list with [item type] NMTOKEN, per [XML Schema 1.0 Part 2,
     Datatypes], including whitespace normalization.
   * XPathExpression, XSLTMatchPattern
     As a string per [XML Schema 1.0 Part 2, Datatypes], including
     whitespace normalization, and the further requirement to be a
     conformant Expression per [XPath 1.0] or Match pattern per [XSLT
     1.0] respectively.
          
ht
- -- 
 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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFG3TchkjnJixAXWBoRArmTAJ9fN2axw6qK5+Jxf8Im+F33bj3qgQCfcTrH
kpQtP3pHBxchNpbAcxogids=
=Ol/g
-----END PGP SIGNATURE-----

Received on Tuesday, 4 September 2007 10:44:59 UTC