org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.


Solutions on the web16

Solution icon of web
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of github
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of github
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of jasig
via Apereo Issues by Denny Denny, 1 year ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of atlassian
via Atlassian JIRA by Jason Schnell, 1 year ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of atlassian
via Atlassian JIRA by Jeff Turner, 1 year ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of atlassian
via Atlassian JIRA by Jason Schnell, 1 year ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of atlassian
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Solution icon of stackoverflow
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.


Stack trace

org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. 
	at org.apache.xerces.dom.CoreDocumentImpl.createAttribute(Unknown Source)
	at org.apache.xerces.dom.ElementImpl.setAttribute(Unknown Source)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:180)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createSubnodes(DomSerializer.java:192)
	at org.htmlcleaner.DomSerializer.createDOM(DomSerializer.java:108)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.