[Bug 7130] New: [XSLT 2.0] Namespace-alias: two result prefixes bound to same URI

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

           Summary: [XSLT 2.0] Namespace-alias: two result prefixes bound to
                    same URI
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Email sent privately to MHK by A. Biao (abiao dot chen at gmail dot com):


I found there's words to report error when namespace alias declaration
conflicted in XSLT2.0 11.1.4.
[ERR XTSE0810] It is a static error if there is more than one such declaration
with the same literal namespace URI and the same import
precedence and different values for the target namespace URI,

...

I don't know whether it's a error when there're two xsl:namespace-alias with
the same stylesheet-prefix and different result-prefix which targets to a
same namespace URI.

For example:
<xsl:stylesheet version="2.0" xmlns:a="ns" xmlns:r1="out" xmlns:r2="out">
<xsl:namespace-alias *stylesheet-prefix* = *"a*" *result-prefix = "r1"/>*
**
<xsl:namespace-alias *stylesheet-prefix* = *"a*" *result-prefix = "r2"/>*

Should this be OK?
If yes, what will be the output prefix, r1 or r2?

Thanks,
**--
A Biao


-- 
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 Wednesday, 22 July 2009 07:44:50 UTC