santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Benito" <r...@apache.org>
Subject Re: Bug 40819
Date Fri, 14 Sep 2007 09:55:46 GMT
100% agree with scott.

public String <http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html>
*getLocalName*()

Returns the local part of the qualified name of this node.
For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes
created with a DOM Level 1 method, such as createElement from the
Documentinterface, this is always
null.

*Since:*DOM Level 2

So if you use DOM level 1, the c14n will fail in some other strange ways.
Please check that the DOM parser is doing it work.

On 9/13/07, Scott Cantor <cantor.2@osu.edu> wrote:
>
> > The problem is that the node does not have a local name.
>
> You can't have a valid DOM if that's the case.
>
> > I tried use WSU namespace for the Id and had problems elsewhere.
> Removing
> > the namespace for the Id causes a problem here.
>
> You can't just decide whether it has a namespace or not, the schema or
> specification defining the XML content containing the ID tells you that.
>
> -- Scott
>
>
>


-- 
http://r-bg.com

Mime
View raw message