[Bug 3165] [XSLT 2.0] Need to be able to detect additional atomic types

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

           Summary: [XSLT 2.0] Need to be able to detect additional atomic
                    types
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: colin@colina.demon.co.uk
         QAContact: public-qt-comments@w3.org


Section 3.13 allows an implementation to add additional types to the context.
But it does not provide a means to detect that this has been done.
Without this rule, an implementation can detect whether int (for instance) is a
valid atomic type in an XPath expression, by checking the value of the
system-property xsl:is-schema-aware, and can take appropriate action. With this
rule in place, that can no longer be done, unless the implementation ALWAYS
adds these types (in which case a combination of the xsl:vendor,
xsl:product-name and xsl:product-version is sufficient for the stylesheet
author)

Suggestion: Require an implementation that adds some of these types to provide
a system-property to detect that they have been added, unless the
implementation always adds these properties.

Received on Sunday, 30 April 2006 04:59:45 UTC