Re: attribute types again

/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| 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.

Ok.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Who knows whether the best of men be
http://nwalsh.com/            | known? or whether there be not more
                              | remarkable persons forgot, than any
                              | that stand remembered in the known
                              | account of time.--Sir Thomas Browne

Received on Tuesday, 4 September 2007 17:19:52 UTC