hi,
In OMNamespaceImpl class a commodity method named "equals(String
namespaceUri)" is missing! at the moment only this one is there, but it
returns false if only the prefixes are different.
public boolean equals(String uri, String prefix) {
return (((prefix == null) && (this.prefix == null)) ||
((prefix != null) && prefix.equals(this.prefix))) &&
((uri == null) && (this.uri == null) ||
(uri != null) && uri.equals(this.uri));
}
at the moment you have to write ugly code like this to get rid of:
element.getNamespace().getNamespaceURI().equals(namespaceURI)
best,
chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]