DOM002 Illegal Character Exception Occured For A User

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

org.w3c.dom.DOMException: DOM002 Illegal character
 at org.apache.xerces.dom.CoreDocumentImpl.createAttribute(Unknown Source)  

Stack Trace: [hide] 


org.w3c.dom.DOMException: DOM002 Illegal character
	at org.apache.xerces.dom.CoreDocumentImpl.createAttribute(Unknown Source)
	at org.apache.html.dom.HTMLDocumentImpl.createAttribute(Unknown Source)
	at org.apache.xerces.dom.ElementImpl.setAttribute(Unknown Source)
	at org.cyberneko.html.parsers.DOMFragmentParser.startElement(DOMFragmentParser.java:431)
	at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:179)
	at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:286)
	at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1009)
	at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:639)

Cause

Some unrecognized characters from HTML pages are being copied over to Confluence causing the wiki renderer to generate the exception above.

Resolution

Use the correct macro to display the format as displayed from the HTML pages and prevent a direct copy as some characters/format are not being recognized.

An alternative is to display the HTML page via the HTML macro plugin.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.