protected Element getOrCreatePropertiesRoot(){
...
Element xmpmeta = document.createElementNS( "adobe:ns:meta",
"x:xmpmeta" );
The fixed code is as follows:
protected Element getOrCreatePropertiesRoot(){
...
Element xmpmeta = document.createElementNS( "adobe:ns:meta/",
"x:xmpmeta" );
NPOI Version
master
The code is as follows:
{ ... XmlElement xmpmeta = document.CreateElement("adobe:ns:meta", "x:xmpmeta", NS_XSLFO); ... }
I notice that POI fixed a bug: https://github.com/apache/poi/commit/78be7da87d0a504ec1f2595495fed41b45c7b933
The buggy code of POI is as follows:
protected Element getOrCreatePropertiesRoot(){ ... Element xmpmeta = document.createElementNS( "adobe:ns:meta", "x:xmpmeta" );
The fixed code is as follows: protected Element getOrCreatePropertiesRoot(){ ... Element xmpmeta = document.createElementNS( "adobe:ns:meta/", "x:xmpmeta" );