XSL-FO: syntax for datatypes

Subject: XSL-FO: syntax for datatypes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 24 Nov 2000 19:01:14 GMT

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
        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.


(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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread