gnu.xml.dom.DomEx: The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via logging-log4j-user by Curt Arnold, 1 year ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
via logging-log4j-user by Curt Arnold, 1 year ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
via Stack Overflow by Gaurav K
, 2 years ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
via logging-log4j-user by John St. Ledger, 1 year ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
via logging-log4j-user by John St. Ledger, 1 year ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
via logging-log4j-user by John St. Ledger, 1 year ago
The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
gnu.xml.dom.DomEx: The operation violates XML Namespaces. More Information: xmlns is reserved Node Name: #document
at gnu.xml.dom.DomDocument.createAttributeNS(DomDocument.java:589)
at gnu.xml.dom.DomDocument.createAttribute(DomDocument.java:561)
at gnu.xml.dom.DomDocument.defaultAttributes(DomDocument.java:456)
at gnu.xml.dom.DomDocument.createElementNS(DomDocument.java:440)
at gnu.xml.pipeline.DomConsumer$Handler.startElement(DomConsumer.java:602)
at gnu.xml.dom.Consumer$Backdoor.startElement(Consumer.java:203)
at gnu.xml.pipeline.EventFilter.startElement(EventFilter.java:570)
at gnu.xml.pipeline.ValidationConsumer.startElement(ValidationConsumer.java:1177)
at gnu.xml.aelfred2.SAXDriver.startElement(SAXDriver.java:836)
at gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1037)
at gnu.xml.aelfred2.XmlParser.parseDocument(XmlParser.java:416)
at gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:167)
at gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:320)
at gnu.xml.aelfred2.XmlReader.parse(XmlReader.java:294)
at gnu.xml.dom.JAXPFactory$JAXPBuilder.parse(JAXPFactory.java:186)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
at org.apache.log4j.xml.DOMConfigurator$1.parse(DOMConfigurator.java:676)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:789)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:682)
at gov.lanl.examples.log4j.chapter3.MyApp3.main(MyApp3.java:34)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.