W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

Re: attribute types again

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 04 Sep 2007 13:19:42 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2abs2cpqp.fsf@nwalsh.com>
/ 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT