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

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 opensearchserve by olijung
, 1 year ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
via Stack Overflow by Ganesh Sampath
, 2 years ago
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at org.apache.xerces.dom.CoreDocumentImpl.checkQName(Unknown Source)
at org.apache.xerces.dom.AttrNSImpl.setName(Unknown Source)
at org.apache.xerces.dom.AttrNSImpl.(Unknown Source)
at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(Unknown Source)
at org.ccil.cowan.tagsoup.Parser.push(Parser.java:794)
at org.ccil.cowan.tagsoup.Parser.rectify(Parser.java:1061)
at org.ccil.cowan.tagsoup.Parser.stagc(Parser.java:1016)
at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:463)
at com.jaeksoft.searchlib.parser.htmlParser.TagsoupParser.getDomHtmlNode(TagsoupParser.java:51)
at com.jaeksoft.searchlib.parser.htmlParser.TagsoupParser.getDocument(TagsoupParser.java:60)
at com.jaeksoft.searchlib.parser.htmlParser.TagsoupParser.getDocument(TagsoupParser.java:38)
at com.jaeksoft.searchlib.parser.htmlParser.HtmlDocumentProvider.getDocument(HtmlDocumentProvider.java:98)
at com.jaeksoft.searchlib.parser.htmlParser.HtmlDocumentProvider.init(HtmlDocumentProvider.java:75)
at com.jaeksoft.searchlib.parser.htmlParser.HtmlParserEnum.getHtmlParser(HtmlParserEnum.java:130)
at com.jaeksoft.searchlib.parser.htmlParser.HtmlParserEnum.findBestProvider(HtmlParserEnum.java:101)
at com.jaeksoft.searchlib.parser.htmlParser.HtmlParserEnum.getHtmlParser(HtmlParserEnum.java:126)
at com.jaeksoft.searchlib.parser.HtmlParser.getHtmlDocumentProvider(HtmlParser.java:305)
at com.jaeksoft.searchlib.parser.HtmlParser.parseContent(HtmlParser.java:388)
at com.jaeksoft.searchlib.parser.Parser.doParserContent(Parser.java:172)
at com.jaeksoft.searchlib.parser.ParserSelector.parserLoop(ParserSelector.java:502)
at com.jaeksoft.searchlib.parser.ParserSelector.parseStream(ParserSelector.java:535)
at com.jaeksoft.searchlib.crawler.web.spider.Crawl.parseContent(Crawl.java:163)
at com.jaeksoft.searchlib.crawler.web.spider.Crawl.download(Crawl.java:324)
at com.jaeksoft.searchlib.crawler.web.process.WebCrawlThread.crawl(WebCrawlThread.java:182)
at com.jaeksoft.searchlib.crawler.web.process.WebCrawlThread.runner(WebCrawlThread.java:126)
at com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:291)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

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.