incubator-odf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svante Schubert <svante.schub...@gmail.com>
Subject Re: xpath.setNamespaceContext(new OdfNamespace());
Date Wed, 16 Oct 2013 08:01:02 GMT
Hi Benson,

nice to hear from you again!

Am 15.10.2013 21:42, schrieb Benson Margulies:
> This line is still in the web doc, but the constructor is private. What's
> the new recipe?
>
OdfNamespace.newNamespace()

The reason why we chose the static factory pattern was that we want to
be in control of the namespaces.
For instance, when writing out an ODF XML file the prefix are being
normalized to the prefix being used in the ODF specification.

Best regards,
Svante

Mime
View raw message