W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2012

[Bug 16583] [XQ30] Compatibility Claims

From: <bugzilla@jessica.w3.org>
Date: Tue, 19 Jun 2012 15:58:02 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Sh0oc-0001bW-CB@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16583

--- Comment #6 from Tim Mills <tim@cbcl.co.uk> 2012-06-19 15:58:01 UTC ---
<?xml version="1.0" ?>
<xsl:stylesheet version="2.0" 
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="/">
    <foo xml:base="http://www.exmaple.org/foo">
      <xsl:value-of select="static-base-uri()" />
    </foo>
    <bar xml:base="http://www.exmaple.org/bar">
      <xsl:value-of select="static-base-uri()" />
    </bar>
  </xsl:template>

</xsl:stylesheet>

An XSLT 2.0 processor will produce

<foo xml:base="http://www.exmaple.org/foo">
http://www.exmaple.org/foo
</foo>
<bar xml:base="http://www.exmaple.org/bar">
http://www.exmaple.org/bar
</bar>

When using F&O 3.0, this will surely be something like

<foo xml:base="http://www.exmaple.org/foo">
http://value/of/the/dynamic/base/URI
</foo>
<bar xml:base="http://www.exmaple.org/bar">
http://value/of/the/dynamic/base/URI
</bar>

-- 
Configure bugmail: https://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 Tuesday, 19 June 2012 15:58:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC