org.w3c.dom.DOMException

DOM002 Illegal character

Solutions on the web81

  • via Coderanch by Gaurav Mac Mathur, 11 months ago
    DOM002 Illegal character
  • via Atlassian JIRA by Scott Farquhar [Atlassian], 11 months ago
    DOM002 Illegal character
  • via Atlassian JIRA by Rosie Jameson [Atlassian], 1 year ago
    DOM002 Illegal character
  • Stack trace

    • 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.parsers.DOMFragmentParser.emptyElement(DOMFragmentParser.java:440) at org.cyberneko.html.filters.DefaultFilter.emptyElement(DefaultFilter.java:187) at org.cyberneko.html.filters.NamespaceBinder.emptyElement(NamespaceBinder.java:325) at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:629) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2407) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1881) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431) at org.cyberneko.html.parsers.DOMFragmentParser.parse(DOMFragmentParser.java:164) at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertXHtmlToWikiMarkup(DefaultWysiwygConverter.java:947) at com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:68) at com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:63) at sun.reflect.GeneratedMethodAccessor1824.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    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.