Re: Canonical XML and xmlns:xml

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.

Christian

[1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2650
[2] http://marc.theaimsgroup.com/?l=xalan-dev&m=100679152010829&w=4
    http://marc.theaimsgroup.com/?l=xalan-dev&m=100679089506982&w=4

Received on Monday, 26 November 2001 13:45:00 UTC