W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

XSL-FO: syntax for datatypes

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 24 Nov 2000 19:01:14 GMT
Message-Id: <200011241901.TAA30585@cruzcampo.nag.co.uk>
To: xsl-list@mulberrytech.com



I (rather late, sorry) noticed that in XSL-FO <integer> and <number>
literals (as specified on page 59 of the CR pdf file) allow an optional
+ before the digits. This is a rather surprising difference from XSLT
and XPath, considering how closely these specs are interrelated.
Probably the spec ought at least note the difference.

Also (page 61) id and idref are defined to take a Name, and references
the XML spec for Name, however the namespace spec (rather weakly)
specifies that IDs should be NCNames.


     An XML document conforms to this specification if all other tokens 
     in the document which are required, for XML conformance, to match
     the XML production for Name,
     match this specification's production for NCName.
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

         The effect of conformance is that in such a document: 

        All element types and attribute names contain either zero or one
        colon.  
        No entity names, PI targets, or notation names contain any colons. 

    Strictly speaking, attribute values declared to be of types ID,
    IDREF(S), ENTITY(IES), and NOTATION are also Names, and thus should
    be colon-free.
       ^^^^^^^^^^ 

I believe that MSXML (at least) enforces this.


David

(This message is being sent to xsl-list, copied to xsl-editors list)

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
Received on Friday, 24 November 2000 14:02:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:51 GMT