We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3126b86 commit b4df6ebCopy full SHA for b4df6eb
net.lecousin.core/src/main/java/net/lecousin/framework/xml/XMLWriter.java
@@ -276,6 +276,7 @@ public ISynchronizationPoint<IOException> addComment(CharSequence comment) {
276
/** Write the given DOM element. */
277
public ISynchronizationPoint<IOException> write(Element element) {
278
String name = element.getLocalName();
279
+ if (name == null) name = element.getNodeName();
280
String uri = element.getNamespaceURI();
281
String prefix = element.getPrefix();
282
Map<String, String> namespaces = null;
0 commit comments