W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > October to December 2001

Re: Canonical XML and xmlns:xml

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Mon, 26 Nov 2001 19:47:46 +0100
To: Eric van der Vlist <vdv@dyomedea.com>
Cc: XML Signature WG <w3c-ietf-xmldsig@w3.org>, keshlam@us.ibm.com, Joseph_Kesselman@lotus.com
Message-ID: <1781719450.1006804066@pinkpanther>
Hi Eric,

--On Montag, 26. November 2001 19:26 +0100 Eric van der Vlist 
<vdv@dyomedea.com> wrote:

> Christian Geuer-Pollmann wrote:
>> Dear XML Signature WG, John, Joseph,
>> I just wanted to peek those interested in "Canonical XML"
>> implementations  using Apache Xalan and Apache Xerces to some directions
>> that I'm not aware  of whether they make sense or not.
>> The "Namespaces in XML" rec [1] says:
>> <SNIP>
>> The prefix xml is by definition bound to the namespace name
>> http://www.w3.org/XML/1998/namespace. The prefix xmlns is used only for
>> namespace bindings and is not itself bound to any namespace name.
>> </SNIP>
>> This means that xmlns:xml="http://www.w3.org/XML/1998/namespace" does
>> not  have to be declared to be used. But this causes a problem for some
>> XSLT  folks so the Xalan developers decided to add the above xmlns:xml
>> decl to  the DOM tree and XPath results.
> Just to mention that the Xalan developpers have done nothing more than
> follow the XPath rec by doing so ;=) :
> "Each element has an associated set of namespace nodes, one for each
> distinct namespace prefix that is in scope for the element (including the
> xml prefix, which is implicitly declared by the XML Namespaces
> Recommendation [XML Names]) and one for the default namespace if one is
> in scope for the element."
> http://www.w3.org/TR/xpath#namespace-nodes
> My 0,02 Euros,
> Eric (who has recently opened a bug against libxslt which was not doing
> so)

Yes, these bugs are open for Xalan, too [1]. But to cite todays discussion 
on xalan-dev [2],

  "I'm not sure whether this should be marked as LATER,
   or as WONTFIX since we expect that XSLT2 will actually
   make what we're doing legitimate."

We have to see what happens.


[1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2650
[2] http://marc.theaimsgroup.com/?l=xalan-dev&m=100679152010829&w=4
Received on Monday, 26 November 2001 13:45:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:36 UTC