[Bug 4591] [XSLT 2.0] inline import-schema with no namespace

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

           Summary: [XSLT 2.0] inline import-schema with no namespace
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


We currently say (in 3.14)

If the xsl:import-schema  element contains an xs:schema element, then the
schema-location attribute must be absent, and the namespace attribute must
either have the same value as the targetNamespace  attribute of the xs:schema
element (if present), or must be absent, in which case its effective value is
that of the targetNamespace attribute of the xs:schema element if present or
the zero-length string otherwise.

However, the zero-length string is not a valid value of the namespace
attribute. We should say that in this situation (an inline schema for the
no-namespace) that the namespace attribute is treated as absent.

Received on Wednesday, 30 May 2007 12:16:18 UTC