[Bug 14858] New: [FO30] format-integer picture string

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14858

           Summary: [FO30] format-integer picture string
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
               URL: http://www.w3.org/XML/Group/qtspecs/specifications/xpa
                    th-functions-30/html/Overview.html#func-format-integer
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The specification states that:

"A picture consists of a primary format token, followed by an optional format
modifier. If the picture is two or more characters in length and the final
character is one of those permitted as a format modifier, then the primary
format token consists of the entire picture except for its final character;
otherwise the primary format token is the entire picture."

and that:

"The format modifier, if present, is one or more of the following, in any
order:

    either c or o, optionally followed by a sequence of characters enclosed
between parentheses, to indicate cardinal or ordinal numbering respectively,
the default being cardinal numbering

    either a or t to indicate alphabetic or traditional numbering respectively,
the default being ·implementation-defined·."

Consider the example picture string "1o(-º)"

The picture is two or more characters in length.
The final character is ')' (not c/o/a/t)

Does this mean that the primary format token is the entire picture string?

I'm guessing that the indended meaning is that the primary format token is "1"
and that the format modified is "o(-º)".

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 17 November 2011 16:10:26 UTC